Let's try to shutdown always (even if it's not a failure)

This commit is contained in:
Ai Lin Chia
2017-11-02 17:10:01 +01:00
parent fde4d39f6a
commit 79231c121f

5
Jenkinsfile vendored

@ -91,6 +91,11 @@ pipeline {
}
post {
always {
sh "cd ${env.PYWEBTEST_DIR} && ./shutdown_instances.py --num-instances=1 --num-shards=1 --offset=0"
sh "cd ${env.PYWEBTEST_DIR} && ./shutdown_instances.py --num-instances=4 --num-shards=2 --offset=1"
}
changed {
script {
if (currentBuild.result == "SUCCESS" && env.BUILD_NUMBER != 1) {