JenkinsFile docker configuration

This commit is contained in:
RolandBakunts 2023-01-17 05:53:00 -08:00
parent a10763493d
commit e79120b1ed

6
Jenkinsfile vendored
View file

@ -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"
}
}
}