Jenkinsfile configured to only deploy when on master.
This commit is contained in:
parent
ad6a5886e4
commit
67ff7733bc
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -21,6 +21,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage("deploy") {
|
||||
when {
|
||||
branch '**/master'
|
||||
}
|
||||
sh "git clean -dfX"
|
||||
steps {
|
||||
sshagent(['ce4c701d-098c-4706-8f32-c0af996a7769']) {
|
||||
|
Loading…
Reference in New Issue
Block a user