ci: limit release to master branch
Some checks reported errors
arcad/emissary-firmware/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
wpetit 2023-08-25 07:54:57 -06:00
parent 4af7147a1a
commit 5a3eeca071

6
Jenkinsfile vendored
View File

@ -23,6 +23,7 @@ pipeline {
stage('Update emissary release') {
when {
branch 'master'
expression {
return params.emissaryRelease != 'latest'
}
@ -60,7 +61,7 @@ pipeline {
}
}
stage('Build and release') {
stage('Build') {
steps {
script {
withCredentials([
@ -80,6 +81,9 @@ pipeline {
}
stage('Release') {
when {
branch 'master'
}
steps {
withCredentials([
usernamePassword([