From e79120b1ed597443c270a89d90721a9455914511 Mon Sep 17 00:00:00 2001 From: RolandBakunts Date: Tue, 17 Jan 2023 05:53:00 -0800 Subject: [PATCH] JenkinsFile docker configuration --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4881a2189..f8c701136 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,13 +15,13 @@ pipeline { stage('pull request') { steps { script { - if (env.BRANCH_NAME != 'master' && env.CHANGE_ID){ + if (env.BRANCH_NAME != 'main' && env.CHANGE_ID){ sh "echo 'ndsakmmkdsa'" sh "echo 'hfiejrfrei'" } else if (env.BRANCH_NAME == 'main') { - sh "echo 'master branch'" + sh "echo main" } else { - sh "echo 'cap cap cap'" + sh "echo $env.BRANCH_NAM" } } }