Fixed 'Jenkinsfile' branch check when publishing
All checks were successful
ydeng/renamebycsv/pipeline/head This commit looks good

This commit is contained in:
Harrison Deng 2023-04-21 11:34:21 -05:00
parent 8662972fe5
commit 4f2eeb6a54

2
Jenkinsfile vendored
View File

@ -29,7 +29,7 @@ pipeline {
}
stage("publish package") {
when {
branch '**/main'
branch '**/master'
}
steps {
withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) {