JenkinsFile docker configuration

This commit is contained in:
RolandBakunts 2023-01-17 06:23:46 -08:00
parent 145893de88
commit 4e57449db9

3
Jenkinsfile vendored
View file

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