JenkinsFile docker configuration

This commit is contained in:
RolandBakunts 2023-01-17 05:55:04 -08:00
parent e79120b1ed
commit 3d28f34492

7
Jenkinsfile vendored
View file

@ -15,13 +15,14 @@ pipeline {
stage('pull request') { stage('pull request') {
steps { steps {
script { script {
if (env.BRANCH_NAME != 'main' && env.CHANGE_ID){ if (BRANCH_NAME != 'main' && env.CHANGE_ID){
sh "echo 'ndsakmmkdsa'" sh "echo 'ndsakmmkdsa'"
sh "echo 'hfiejrfrei'" sh "echo 'hfiejrfrei'"
} else if (env.BRANCH_NAME == 'main') { } else if (BRANCH_NAME == 'main') {
sh "echo main" sh "echo main"
} else { } else {
sh "echo $env.BRANCH_NAM" sh "echo $BRANCH_NAME"
sh "echo $env.BRANCH_NAME"
} }
} }
} }