Skip to content

Commit

Permalink
change post ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebachmeier committed Nov 22, 2024
1 parent 2cf374a commit a356d92
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@ pipeline {
} // stages bracket within Python matrix
post {
always {
sh "${ACTIVATE} && make clean"
sh "rm -rf ${CONDA_ENV_PATH}"
cleanWs()
// Generate a message to send to Slack.
script {
if (env.BRANCH == "main") {
Expand All @@ -227,6 +224,10 @@ pipeline {
Build details: <${env.BUILD_URL}/console|See in web console>
""".stripIndent()
}
// Clean up
sh "${ACTIVATE} && make clean"
sh "rm -rf ${CONDA_ENV_PATH}"
cleanWs()
}
failure {
echo "This build triggered by ${developerID} failed on ${GIT_BRANCH}. Sending a failure message to Slack."
Expand Down

0 comments on commit a356d92

Please sign in to comment.