From ea374a971e169cc97badbaebd1345f12c2d591fe Mon Sep 17 00:00:00 2001 From: Harrison Date: Fri, 21 Apr 2023 11:11:54 -0500 Subject: [PATCH] Updated pipeline to use branch 'main' as publishing branch --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')]) {