From df5e1c61d428f1d7357139508347bb15da523edc Mon Sep 17 00:00:00 2001 From: Micah Abbott Date: Thu, 27 Sep 2018 15:23:42 -0400 Subject: [PATCH] utils: don't send Slack update for dev pipelines --- pipeline-utils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline-utils.groovy b/pipeline-utils.groovy index ed0f5349..46a097b2 100644 --- a/pipeline-utils.groovy +++ b/pipeline-utils.groovy @@ -210,7 +210,7 @@ def notify_status_change(build) { def color = '' def message = "<${env.BUILD_URL}|Build ${env.BUILD_NUMBER} of ${env.JOB_NAME}>" - if (build.currentResult == build.previousBuild?.result) + if (build.currentResult == build.previousBuild?.result || params.DRY_RUN) return if (build.previousBuild?.result == null) {