diff --git a/Jenkinsfile.aws-test b/Jenkinsfile.aws-test index 6dc2beaab..0ff925691 100644 --- a/Jenkinsfile.aws-test +++ b/Jenkinsfile.aws-test @@ -93,6 +93,8 @@ node(NODE) { currentBuild.result = 'FAILURE' throw e } finally { - utils.notify_status_change currentBuild + if (!params.DRY_RUN) { + utils.notify_status_change currentBuild + } } } diff --git a/Jenkinsfile.cloud b/Jenkinsfile.cloud index 026c93ac0..ca3c2c3ae 100644 --- a/Jenkinsfile.cloud +++ b/Jenkinsfile.cloud @@ -257,6 +257,8 @@ node(NODE) { currentBuild.result = 'FAILURE' throw e } finally { - utils.notify_status_change currentBuild + if (!params.DRY_RUN) { + utils.notify_status_change currentBuild + } } } diff --git a/Jenkinsfile.rdgo b/Jenkinsfile.rdgo index 3a763cb9b..7375fb6a6 100644 --- a/Jenkinsfile.rdgo +++ b/Jenkinsfile.rdgo @@ -83,6 +83,8 @@ node(NODE) { throw e } finally { archiveArtifacts artifacts: "log/**", allowEmptyArchive: true - utils.notify_status_change currentBuild + if (!params.DRY_RUN) { + utils.notify_status_change currentBuild + } } } diff --git a/Jenkinsfile.treecompose b/Jenkinsfile.treecompose index ad6156271..98847648f 100644 --- a/Jenkinsfile.treecompose +++ b/Jenkinsfile.treecompose @@ -133,6 +133,8 @@ node(NODE) { currentBuild.result = 'FAILURE' throw e } finally { - utils.notify_status_change currentBuild + if (!params.DRY_RUN) { + utils.notify_status_change currentBuild + } } } diff --git a/Jenkinsfile.treecompose-ootpa b/Jenkinsfile.treecompose-ootpa index 21a4ff9b7..1920e22e1 100644 --- a/Jenkinsfile.treecompose-ootpa +++ b/Jenkinsfile.treecompose-ootpa @@ -111,6 +111,8 @@ node(NODE) { currentBuild.result = 'FAILURE' throw e } finally { - utils.notify_status_change currentBuild + if (!params.DRY_RUN) { + utils.notify_status_change currentBuild + } } }