JenkinsFile docker configuration

This commit is contained in:
RolandBakunts 2023-01-17 06:02:37 -08:00
parent ec71de830d
commit 70af1b88ff

13
Jenkinsfile vendored
View file

@ -14,13 +14,14 @@ pipeline {
stages { stages {
stage('pull request') { stage('pull request') {
steps { steps {
if(env.CHANGE_ID) { script {
sh "echo 'pull request" if(env.CHANGE_ID) {
} else { sh "echo 'pull request"
sh "echo 'pull no no no" } else {
} sh "echo 'pull no no no"
}
}
} }
// steps { // steps {
// script { // script {
// if (BRANCH_NAME != 'main' && env.CHANGE_ID){ // if (BRANCH_NAME != 'main' && env.CHANGE_ID){