From c18fd114bb8c24aac0d2e73c7b9d6b8602726d44 Mon Sep 17 00:00:00 2001 From: Justin Reese Date: Thu, 7 May 2020 11:32:20 -0700 Subject: [PATCH] Change to check for master branch when pushing to s3 in publish stage --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d80a65cd..b581a8eb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -81,7 +81,7 @@ pipeline { steps { script { - if (env.BRANCH_NAME != 'jenkins') { + if (env.BRANCH_NAME != 'master') { echo "Will not push if not on correct branch." } else { withCredentials([file(credentialsId: 's3cmd_kg_hub_push_configuration', variable: 'S3CMD_JSON')]) {