diff --git a/Jenkinsfile b/Jenkinsfile index 1460814..d2c2781 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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')]) {