Skip to content

Commit

Permalink
Merge pull request #110 from Cray-HPE/fixingbuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsalmela authored Aug 3, 2023
2 parents 58ca1ad + cc454e7 commit 16c2631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile.github
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
@Library('csm-shared-library') _

def goImage = 'artifactory.algol60.net/csm-docker/stable/csm-docker-sle-go'
// Only consider X.Y.Z and X.Y.Z-postN tags as stable.
// Only consider X.Y.Z and X.Y.Z.postN tags as stable.
// Never consider X.Y.Z{[a|b|rc} or X.Y.Z.* tags (that are not post-releases) as stable.
// The ==~ operator performs an exact match.
def stableToken = ~/v?\d+\.\d+\.\d+-(alpha\d+)?/
def stableToken = ~/v?\d+\.\d+\.\d+(\.post\d+)?/
def isStable = (env.TAG_NAME != null & env.TAG_NAME ==~ stableToken) ? true : false
pipeline {

Expand Down

0 comments on commit 16c2631

Please sign in to comment.