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