Fixed missing elements

This commit is contained in:
Waldemar Zurowski
2020-08-07 06:07:29 +02:00
parent e524f41738
commit 56b574c66e
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,7 @@ killAllExistingBuildsForJob(env.JOB_NAME, env.BUILD_NUMBER.toInteger())
** calculate the stage for NexusIQ evaluation ** calculate the stage for NexusIQ evaluation
** * build for snapshots ** * build for snapshots
*/ */
def nexusIqStage = "build" def nexusDefaultIqStage = "build"
/** /**
* make sure calculated default value of NexusIQ stage is first in the list * make sure calculated default value of NexusIQ stage is first in the list
@ -44,6 +44,10 @@ pipeline {
buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14')) buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14'))
} }
parameters {
choice choices: nexusIqStageChoices, description: 'NexusIQ stage for code evaluation', name: 'nexusIqStage'
}
triggers { triggers {
cron '@midnight' cron '@midnight'
} }

View File

@ -25,7 +25,6 @@ boolean isInternalRelease = (env.TAG_NAME =~ /^internal-release-.*$/)
** * stage-release: for release candidates and for health checks ** * stage-release: for release candidates and for health checks
** * operate: for final release ** * operate: for final release
*/ */
def nexusDefaultIqStage = "build" def nexusDefaultIqStage = "build"
if (isReleaseTag) { if (isReleaseTag) {
switch (env.TAG_NAME) { switch (env.TAG_NAME) {