GIS-1621 - Be selective with releases - don't show those with tags beginning with erroneous_ superceded_ faulty_ inmainline_ unless SHOWALL parameter is true
This commit is contained in:
parent
1f55e79acf
commit
fc3d611c84
1 changed files with 2 additions and 0 deletions
|
|
@ -55,11 +55,13 @@ pipeline {
|
|||
gh = load("${autobuilder.commonscripts()}/versioncontrol/git.groovy")
|
||||
def allreleases = gh.gettaglist(SOURCEDIR)
|
||||
showall = SHOWALL ?: 'false'
|
||||
echo("showall: ${showall} ${SHOWALL}")
|
||||
def releases
|
||||
if (showall) {
|
||||
releases = allreleases
|
||||
} else {
|
||||
for (release in allreleases) {
|
||||
echo("Evaluating: |${release}|")
|
||||
if (!release.toLowerCase().startsWith("superceded_") &&
|
||||
!release.toLowerCase().startsWith("erroneous_") &&
|
||||
!release.toLowerCase().startsWith("faulty_") &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue