Skip to content

Commit

Permalink
Fix Jenkinsfile post section
Browse files Browse the repository at this point in the history
  • Loading branch information
enricovianello committed Nov 9, 2023
1 parent 8d1b1b4 commit 10dad66
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ pipeline {

post {
always {
container('runner') {
junit '**/target/surefire-reports/TEST-*.xml'
}
junit '**/target/surefire-reports/TEST-*.xml'
}
}
}
Expand All @@ -46,18 +44,4 @@ pipeline {
}

}

post {
success {
slackSend channel: "#voms", color: 'good', message: "${env.JOB_NAME} - #${env.BUILD_NUMBER} Success (<${env.BUILD_URL}|Open>)"
}

unstable {
slackSend channel: "#voms", color: 'danger', message: "${env.JOB_NAME} - #${env.BUILD_NUMBER} Unstable (<${env.BUILD_URL}|Open>)"
}

failure {
slackSend channel: "#voms", color: 'danger', message: "${env.JOB_NAME} - #${env.BUILD_NUMBER} Failure (<${env.BUILD_URL}|Open>)"
}
}
}

0 comments on commit 10dad66

Please sign in to comment.