Fixed 'Jenkinsfile' branch check when publishing
All checks were successful
ydeng/renamebycsv/pipeline/head This commit looks good
All checks were successful
ydeng/renamebycsv/pipeline/head This commit looks good
This commit is contained in:
parent
8662972fe5
commit
4f2eeb6a54
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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')]) {
|
||||
|
Loading…
Reference in New Issue
Block a user