We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc0b925 commit 19d7fbfCopy full SHA for 19d7fbf
Jenkinsfile
@@ -24,12 +24,16 @@ try {
24
}
25
26
stage ('Test') {
27
- sh 'cp ~/xivstatsFiles/config.xml .'
28
- sh 'mvn test'
29
- sh 'rm config.xml'
30
- sh 'pip install --user codecov'
31
- sh 'codecov --token=96498141-ca0d-4144-af53-c04b593115ef'
32
- step([$class: 'JUnitResultArchiver', testResults: 'target/surefire-reports/*.xml'])
+ try {
+ sh 'cp ~/xivstatsFiles/config.xml .'
+ sh 'mvn test'
+ }
+ finally {
+ sh 'rm config.xml'
33
+ sh 'pip install --user codecov'
34
+ sh 'codecov --token=96498141-ca0d-4144-af53-c04b593115ef'
35
+ step([$class: 'JUnitResultArchiver', testResults: 'target/surefire-reports/*.xml'])
36
37
38
39
stage('SonarQube analysis') {
0 commit comments