JenkinsFile docker configuration

This commit is contained in:
RolandBakunts 2023-01-17 11:37:32 -08:00
parent ea036e79be
commit d3869174c2

2
Jenkinsfile vendored
View file

@ -15,7 +15,7 @@ pipeline {
stage('pull request') { stage('pull request') {
steps { steps {
script { script {
if(env.CHANGE_ID != null & env.BRANCH_NAME != 'main') { if(env.CHANGE_ID != null && env.BRANCH_NAME != 'main') {
sh "echo $env.BRANCH_NAME" sh "echo $env.BRANCH_NAME"
sh "echo 'pull request jk'" sh "echo 'pull request jk'"
} else if (env.BRANCH_NAME == 'main') { } else if (env.BRANCH_NAME == 'main') {