updated when for PR

This commit is contained in:
2026-09-23 04:09:57 -07:00
parent 0d21c347c0
commit a88b836a25
+2
View File
@@ -64,6 +64,8 @@ pipeline {
when {
// Matches Multibranch Pipeline PR branch patterns (e.g., PR-123)
changeRequest()
// Triggers if running on any branch that is not 'main'
expression { env.BRANCH_NAME != 'main' }
}
steps {
script {