From d4d455e89aa07d03baebcc39cef20d59ef5e7b4c Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Wed, 21 Feb 2024 16:13:22 -0800 Subject: [PATCH] Fix choice bug Signed-off-by: Prudhvi Godithi --- .../promotion/release-promotion.jenkinsfile | 128 +++++++++--------- .../TestOpenSearchReleasePromotionTest.groovy | 128 +++++++++--------- .../release-promotion.jenkinsfile.txt | 128 +++++++++--------- 3 files changed, 192 insertions(+), 192 deletions(-) diff --git a/jenkins/promotion/release-promotion.jenkinsfile b/jenkins/promotion/release-promotion.jenkinsfile index a77b6abdd7..e5b2de3a42 100644 --- a/jenkins/promotion/release-promotion.jenkinsfile +++ b/jenkins/promotion/release-promotion.jenkinsfile @@ -60,8 +60,8 @@ pipeline { } steps { echo 'Triggering distribution-promote-repos for OpenSearch Debian Apt' - build job: 'distribution-promote-repos', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), - choice(name: 'DISTRIBUTION_REPO_TYPE', value: 'apt'), + build job: 'distribution-promote-repos', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), + string(name: 'DISTRIBUTION_REPO_TYPE', value: 'apt'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"), ] @@ -79,8 +79,8 @@ pipeline { } steps { echo 'Triggering distribution-promote-repos for OpenSearch Yum' - build job: 'distribution-promote-repos', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), - choice(name: 'DISTRIBUTION_REPO_TYPE', value: 'yum'), + build job: 'distribution-promote-repos', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), + string(name: 'DISTRIBUTION_REPO_TYPE', value: 'yum'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"), ] @@ -98,8 +98,8 @@ pipeline { } steps { echo 'Triggering distribution-promote-repos for OpenSearch Dashboards apt' - build job: 'distribution-promote-repos', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), - choice(name: 'DISTRIBUTION_REPO_TYPE', value: 'apt'), + build job: 'distribution-promote-repos', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), + string(name: 'DISTRIBUTION_REPO_TYPE', value: 'apt'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"), ] @@ -117,8 +117,8 @@ pipeline { } steps { echo 'Triggering distribution-promote-repos for OpenSearch Dashboards yum' - build job: 'distribution-promote-repos', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), - choice(name: 'DISTRIBUTION_REPO_TYPE', value: 'yum'), + build job: 'distribution-promote-repos', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), + string(name: 'DISTRIBUTION_REPO_TYPE', value: 'yum'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"), ] @@ -136,10 +136,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch windows' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'windows'), - choice(name: 'DISTRIBUTION_NAME', value: 'zip'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'windows'), + string(name: 'DISTRIBUTION_NAME', value: 'zip'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"), ] @@ -157,10 +157,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for opensearch windows' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'windows'), - choice(name: 'DISTRIBUTION_NAME', value: 'zip'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'windows'), + string(name: 'DISTRIBUTION_NAME', value: 'zip'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"), ] @@ -178,10 +178,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Linux deb arm64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'deb'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'deb'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"), ] @@ -199,10 +199,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Linux deb x64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'deb'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'deb'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"), ] @@ -220,10 +220,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux deb arm64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'deb'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'deb'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"), ] @@ -241,10 +241,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux deb x64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'deb'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'deb'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"), ] @@ -262,10 +262,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Linux rpm arm64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'rpm'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'rpm'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"), ] @@ -283,10 +283,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Linux rpm x64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'rpm'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'rpm'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"), ] @@ -304,10 +304,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux rpm arm64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'rpm'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'rpm'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"), ] @@ -325,10 +325,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux rpm x64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'rpm'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'rpm'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"), ] @@ -346,10 +346,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Linux tar arm64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'tar'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'tar'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"), ] @@ -367,10 +367,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Linux tar x64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'tar'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'tar'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"), ] @@ -388,10 +388,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux tar arm64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'tar'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'tar'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'arm64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"), ] @@ -409,10 +409,10 @@ pipeline { } steps { echo 'Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux tar x64' - build job: 'distribution-promote-artifacts', wait: true, parameters: [choice(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), - choice(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), - choice(name: 'DISTRIBUTION_NAME', value: 'tar'), - choice(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), + build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'), + string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'), + string(name: 'DISTRIBUTION_NAME', value: 'tar'), + string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'), string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER), string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"), ] diff --git a/tests/jenkins/TestOpenSearchReleasePromotionTest.groovy b/tests/jenkins/TestOpenSearchReleasePromotionTest.groovy index 26db06c5b9..723d56bb34 100644 --- a/tests/jenkins/TestOpenSearchReleasePromotionTest.groovy +++ b/tests/jenkins/TestOpenSearchReleasePromotionTest.groovy @@ -48,121 +48,121 @@ class TestOpenSearchReleasePromotionTest extends BuildPipelineTest { // OpenSearch Debian Apt promotion assertCallStack().contains('stage(OpenSearch Debian Apt promotion, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_REPO_TYPE, value=apt})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_REPO_TYPE, value=apt})") // OpenSearch Yum promotion assertCallStack().contains('stage(OpenSearch Yum promotion, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_REPO_TYPE, value=yum})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_REPO_TYPE, value=yum})") // OpenSearch Dashboards Debian Apt promotion assertCallStack().contains('stage(OpenSearch Dashboards Debian Apt promotion, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_REPO_TYPE, value=apt})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_REPO_TYPE, value=apt})") // OpenSearch Dashboards Yum promotion assertCallStack().contains('stage(OpenSearch Dashboards Yum promotion, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_REPO_TYPE, value=yum})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_REPO_TYPE, value=yum})") // OpenSearch Windows promotion assertCallStack().contains('stage(OpenSearch Windows promotion, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=windows})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=zip})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=windows})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=zip})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64})") // OpenSearch Dashboards Windows promotion assertCallStack().contains('stage(OpenSearch Dashboards Windows promotion, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=windows})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=zip})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=windows})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=zip})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64})") // OpenSearch Linux deb arm64 assertCallStack().contains('stage(OpenSearch Linux deb arm64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=deb})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=deb})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") // OpenSearch Linux deb x64 assertCallStack().contains('stage(OpenSearch Linux deb x64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=deb})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=deb})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64})") // OpenSearch Dashboards Linux deb arm64 assertCallStack().contains('stage(OpenSearch Dashboards Linux deb arm64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=deb})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=deb})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") // OpenSearch Dashboards Linux deb x64 assertCallStack().contains('stage(OpenSearch Dashboards Linux deb x64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=deb})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=deb})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64})") assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050})") // OpenSearch Linux rpm arm64 assertCallStack().contains('stage(OpenSearch Linux rpm arm64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=rpm})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=rpm})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") // OpenSearch Linux rpm x64 assertCallStack().contains('stage(OpenSearch Linux rpm x64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=rpm})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=rpm})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64})") // OpenSearch Dashboards Linux rpm arm64 assertCallStack().contains('stage(OpenSearch Dashboards Linux rpm arm64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=rpm})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=rpm})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") // OpenSearch Dashboards Linux rpm x64 assertCallStack().contains('stage(OpenSearch Dashboards Linux rpm x64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=rpm})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=rpm})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64})") // OpenSearch Linux tar arm64 assertCallStack().contains('stage(OpenSearch Linux tar arm64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=tar})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=tar})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") // OpenSearch Linux tar x64 assertCallStack().contains('stage(OpenSearch Linux tar x64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=tar})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=tar})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64})") // OpenSearch Dashboards Linux tar arm64 assertCallStack().contains('stage(OpenSearch Dashboards Linux tar arm64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=tar})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=tar})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64})") // OpenSearch Dashboards Linux tar x64 assertCallStack().contains('stage(OpenSearch Dashboards Linux tar x64, groovy.lang.Closure)') - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_NAME, value=tar})") - assertCallStack().contains("release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_NAME, value=tar})") + assertCallStack().contains("release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64})") } } diff --git a/tests/jenkins/jenkinsjob-regression-files/promotion/release-promotion.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/promotion/release-promotion.jenkinsfile.txt index 737d402d3e..246325d558 100644 --- a/tests/jenkins/jenkinsjob-regression-files/promotion/release-promotion.jenkinsfile.txt +++ b/tests/jenkins/jenkinsjob-regression-files/promotion/release-promotion.jenkinsfile.txt @@ -9,8 +9,8 @@ release-promotion.stage(OpenSearch Debian Apt promotion, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-repos for OpenSearch Debian Apt) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) - release-promotion.choice({name=DISTRIBUTION_REPO_TYPE, value=apt}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) + release-promotion.string({name=DISTRIBUTION_REPO_TYPE, value=apt}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=2050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-1.0.0.yml}) release-promotion.build({job=distribution-promote-repos, wait=true, parameters=[null, null, null, null]}) @@ -18,8 +18,8 @@ release-promotion.stage(OpenSearch Yum promotion, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-repos for OpenSearch Yum) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) - release-promotion.choice({name=DISTRIBUTION_REPO_TYPE, value=yum}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) + release-promotion.string({name=DISTRIBUTION_REPO_TYPE, value=yum}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=2050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-1.0.0.yml}) release-promotion.build({job=distribution-promote-repos, wait=true, parameters=[null, null, null, null]}) @@ -27,8 +27,8 @@ release-promotion.stage(OpenSearch Dashboards Debian Apt promotion, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-repos for OpenSearch Dashboards apt) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) - release-promotion.choice({name=DISTRIBUTION_REPO_TYPE, value=apt}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) + release-promotion.string({name=DISTRIBUTION_REPO_TYPE, value=apt}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-dashboards-1.0.0.yml}) release-promotion.build({job=distribution-promote-repos, wait=true, parameters=[null, null, null, null]}) @@ -36,8 +36,8 @@ release-promotion.stage(OpenSearch Dashboards Yum promotion, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-repos for OpenSearch Dashboards yum) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) - release-promotion.choice({name=DISTRIBUTION_REPO_TYPE, value=yum}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) + release-promotion.string({name=DISTRIBUTION_REPO_TYPE, value=yum}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-dashboards-1.0.0.yml}) release-promotion.build({job=distribution-promote-repos, wait=true, parameters=[null, null, null, null]}) @@ -45,10 +45,10 @@ release-promotion.stage(OpenSearch Windows promotion, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch windows) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=windows}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=zip}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=windows}) + release-promotion.string({name=DISTRIBUTION_NAME, value=zip}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=2050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -56,10 +56,10 @@ release-promotion.stage(OpenSearch Dashboards Windows promotion, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for opensearch windows) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=windows}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=zip}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=windows}) + release-promotion.string({name=DISTRIBUTION_NAME, value=zip}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-dashboards-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -67,10 +67,10 @@ release-promotion.stage(OpenSearch Linux deb arm64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Linux deb arm64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=deb}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=deb}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=2050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -78,10 +78,10 @@ release-promotion.stage(OpenSearch Linux deb x64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Linux deb x64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=deb}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=deb}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=2050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -89,10 +89,10 @@ release-promotion.stage(OpenSearch Dashboards Linux deb arm64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux deb arm64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=deb}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=deb}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-dashboards-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -100,10 +100,10 @@ release-promotion.stage(OpenSearch Dashboards Linux deb x64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux deb x64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=deb}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=deb}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-dashboards-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -111,10 +111,10 @@ release-promotion.stage(OpenSearch Linux rpm arm64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Linux rpm arm64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=rpm}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=rpm}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=2050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -122,10 +122,10 @@ release-promotion.stage(OpenSearch Linux rpm x64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Linux rpm x64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=rpm}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=rpm}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=2050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -133,10 +133,10 @@ release-promotion.stage(OpenSearch Dashboards Linux rpm arm64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux rpm arm64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=rpm}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=rpm}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-dashboards-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -144,10 +144,10 @@ release-promotion.stage(OpenSearch Dashboards Linux rpm x64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux rpm x64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=rpm}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=rpm}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-dashboards-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -155,10 +155,10 @@ release-promotion.stage(OpenSearch Linux tar arm64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Linux tar arm64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=tar}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=tar}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=2050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -166,10 +166,10 @@ release-promotion.stage(OpenSearch Linux tar x64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Linux tar x64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=tar}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=tar}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=2050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -177,10 +177,10 @@ release-promotion.stage(OpenSearch Dashboards Linux tar arm64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux tar arm64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=tar}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=tar}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=arm64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-dashboards-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]}) @@ -188,10 +188,10 @@ release-promotion.stage(OpenSearch Dashboards Linux tar x64, groovy.lang.Closure) release-promotion.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:docker/library/alpine:3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) release-promotion.echo(Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux tar x64) - release-promotion.choice({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) - release-promotion.choice({name=DISTRIBUTION_PLATFORM, value=linux}) - release-promotion.choice({name=DISTRIBUTION_NAME, value=tar}) - release-promotion.choice({name=DISTRIBUTION_ARCHITECTURE, value=x64}) + release-promotion.string({name=DISTRIBUTION_JOB_NAME, value=distribution-build-opensearch-dashboards}) + release-promotion.string({name=DISTRIBUTION_PLATFORM, value=linux}) + release-promotion.string({name=DISTRIBUTION_NAME, value=tar}) + release-promotion.string({name=DISTRIBUTION_ARCHITECTURE, value=x64}) release-promotion.string({name=DISTRIBUTION_BUILD_NUMBER, value=3050}) release-promotion.string({name=INPUT_MANIFEST, value=1.0.0/opensearch-dashboards-1.0.0.yml}) release-promotion.build({job=distribution-promote-artifacts, wait=true, parameters=[null, null, null, null, null, null]})