diff --git a/.ci/dev/publish-branch/Jenkinsfile.nightly b/.ci/dev/publish-branch/Jenkinsfile.nightly index 308d475dcb..df7f178cac 100644 --- a/.ci/dev/publish-branch/Jenkinsfile.nightly +++ b/.ci/dev/publish-branch/Jenkinsfile.nightly @@ -18,7 +18,7 @@ killAllExistingBuildsForJob(env.JOB_NAME, env.BUILD_NUMBER.toInteger()) ** calculate the stage for NexusIQ evaluation ** * build for snapshots */ -def nexusIqStage = "build" +def nexusDefaultIqStage = "build" /** * make sure calculated default value of NexusIQ stage is first in the list @@ -44,6 +44,10 @@ pipeline { buildDiscarder(logRotator(daysToKeepStr: '14', artifactDaysToKeepStr: '14')) } + parameters { + choice choices: nexusIqStageChoices, description: 'NexusIQ stage for code evaluation', name: 'nexusIqStage' + } + triggers { cron '@midnight' } diff --git a/.ci/dev/regression/Jenkinsfile b/.ci/dev/regression/Jenkinsfile index fdd7c433be..0e31ff7305 100644 --- a/.ci/dev/regression/Jenkinsfile +++ b/.ci/dev/regression/Jenkinsfile @@ -25,7 +25,6 @@ boolean isInternalRelease = (env.TAG_NAME =~ /^internal-release-.*$/) ** * stage-release: for release candidates and for health checks ** * operate: for final release */ - def nexusDefaultIqStage = "build" if (isReleaseTag) { switch (env.TAG_NAME) {