diff --git a/Jenkinsfile b/Jenkinsfile index 78a9d97..35256b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { } stage("publish") { when { - branch '**/master' + branch '**/main' } steps { withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) {