From ae96f2f9dfe6a16f44b238cbb1d27d7ad2f603a6 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 14 Mar 2025 15:28:35 +0000 Subject: [PATCH] Updated local repository publishing requirement for CI --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index be22d4b..2aa6585 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,6 +37,9 @@ pipeline { stage("publish") { parallel { stage ("git.reslate.systems") { + when { + branch '**/main' + } environment { CREDS = credentials('username-password-rs-git') }