Skip to content

Commit a494d12

Browse files
authored
Update jenkinsfile
1 parent 0c1d80b commit a494d12

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

jenkinsfile

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,9 @@ node{
99
}
1010

1111
stage('Test-Package'){
12-
steps{
13-
echo "Maven test started"
14-
// Get maven home path
15-
def mvnHome = tool name: 'maven', type: 'maven'
16-
sh "${mvnHome}/bin/mvn test"
17-
}
18-
post{
19-
always{
20-
junit '**/target/*-reports/TEST-*.xml'
21-
}
22-
}
12+
// Get maven home path
13+
def mvnHome = tool name: 'maven', type: 'maven'
14+
sh "${mvnHome}/bin/mvn test"
2315
}
2416

2517
stage('SonarQube Analysis') {

0 commit comments

Comments
 (0)