Skip to content

Commit

Permalink
Re-arrange Platform order, document go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkbains committed Oct 26, 2023
1 parent 6d729d0 commit 19a4436
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,23 @@ currentBuild.rawBuild.getParent().setQuietPeriod(0)

library 'jenkins-pipeline-library@CRE-705'

/*
Go Version examples:
auto-v1.17.x: Latest patch of 1.17 release
auto-v1.17.2: Specific patch of 1.17 release
auto-v1.17.0: First release of 1.17 (Despite go versioning this as 1.17)
auto-latest: Most recent patch version of latest minor release
auto-previous: Most recent patch version of previous minor release
auto-2previous: Most recent patch version of second last minor release
Adoption of new versions into these may be delayed.
*/
builder.goapi([
"validationGoVer": 'auto-v1.17.x',
"buildCheckGoVer": 'auto-v1.17.x',
"validationGoVer": 'auto-v1.17.x',
"getTestPermutations": {
List<List<String>> permutations = []
for (platform in [builder.LINUX_ARM, builder.DARWIN_X86_64, builder.LINUX_X86_64, builder.DARWIN_ARM, builder.LINUX_MUSL]) {
for (platform in [builder.LINUX_ARM, builder.LINUX_X86_64, builder.LINUX_MUSL, builder.DARWIN_X86_64, builder.DARWIN_ARM]) {
for (gover in ['auto-v1.17.x']) {
permutations << [platform, gover]
}
Expand Down

0 comments on commit 19a4436

Please sign in to comment.