tried updating logic
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ pipeline {
|
||||
// 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' }
|
||||
not { branch 'main' }
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
|
||||
Reference in New Issue
Block a user