Skip to content

Commit

Permalink
I thought I could get away with a regex, but back to the old way 😢
Browse files Browse the repository at this point in the history
Signed-off-by: zFernand0 <fernando.rijocedeno@broadcom.com>
  • Loading branch information
zFernand0 committed Dec 11, 2019
1 parent e98100e commit 9919596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def MASTER_RECIPIENTS_LIST = "fernando.rijocedeno@broadcom.com"
/**
* Name of the master branch
*/
def MASTER_BRANCH = "master"
def MASTER_BRANCH = "v1.0.x"

/**
* TOKEN ID where secret is stored
Expand Down Expand Up @@ -136,7 +136,7 @@ pipeline {
when { allOf {
expression { return !PIPELINE_CONTROL.ci_skip }
// Check for the Master branch or for v##.##.x
expression { return BRANCH_NAME == MASTER_BRANCH || BRANCH_NAME == /v\d+\.\d+\.x/ }
expression { return BRANCH_NAME == MASTER_BRANCH }
expression { return !params.SKIP_PUBLISH }
} }
steps {
Expand Down

0 comments on commit 9919596

Please sign in to comment.