diff --git a/Jenkinsfile b/Jenkinsfile index 6266c45..bbefd0a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,6 +21,9 @@ pipeline { } } stage("deploy") { + when { + branch '**/master' + } sh "git clean -dfX" steps { sshagent(['ce4c701d-098c-4706-8f32-c0af996a7769']) {