Jenkins에서 "when 구문"을 사용하면 stage를 skip 할 수 있다. https://www.jenkins.io/doc/book/pipeline/syntax/#when stage('Sonar Analysis') { when (BRANCH_NAME != 'master') { echo 'Excecuted only on master branch.' } } 출처 https://medium.com/@Lopay/how-to-skip-stages-in-jenkins-scripted-pipeline-f653e54d835d Declarative pipeline 예시 pipeline { agent any stages { stage('stage 1') { when { expression { params.PROJE..