Jenkinsfile configured to only deploy when on master.

This commit is contained in:
Harrison Deng 2022-05-12 04:34:05 -05:00
parent ad6a5886e4
commit 67ff7733bc

3
Jenkinsfile vendored
View File

@ -21,6 +21,9 @@ pipeline {
}
}
stage("deploy") {
when {
branch '**/master'
}
sh "git clean -dfX"
steps {
sshagent(['ce4c701d-098c-4706-8f32-c0af996a7769']) {