From 751423afab43d9075f681a9f4954395b5be9043a Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 10 Feb 2023 11:25:06 -0800 Subject: [PATCH] Increment jenkins library version (#138) Signed-off-by: opensearch-ci-bot Co-authored-by: opensearch-ci-bot --- tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt | 8 ++++---- tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt | 4 ++-- tests/jenkins/jobs/AssembleManifest_tar_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/AssembleUpload_Jenkinsfile.txt | 6 +++--- tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt | 8 ++++---- .../jobs/BuildDockerImage_Jenkinsfile_builds_both.txt | 2 +- .../jobs/BuildDockerImage_Jenkinsfile_skips_arm64.txt | 2 +- .../jobs/BuildDockerImage_Jenkinsfile_skips_both.txt | 2 +- .../jobs/BuildDockerImage_Jenkinsfile_skips_x64.txt | 2 +- ...BuildDockerImage_Qualifier_Jenkinsfile_builds_both.txt | 2 +- tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt | 4 ++-- tests/jenkins/jobs/BuildYumRepo_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt | 8 ++++---- tests/jenkins/jobs/DetectTestDockerAgent_Jenkinsfile.txt | 2 +- .../jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt | 2 +- tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt | 2 +- tests/jenkins/jobs/PerfTest_Jenkinsfile.txt | 8 ++++---- .../jobs/PromoteArtifactsQualifier_Jenkinsfile.txt | 2 +- .../PromoteArtifactsQualifier_Jenkinsfile_Windows.txt.txt | 2 +- ...tifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.txt | 2 +- ...fier_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt | 2 +- .../PromoteArtifactsQualifier_actions_Jenkinsfile.txt | 4 ++-- ...ArtifactsQualifier_actions_Jenkinsfile_Windows.txt.txt | 4 ++-- ...ualifier_actions_OpenSearch_Dashboards_Jenkinsfile.txt | 4 ++-- ...ions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt | 4 ++-- tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile.txt | 2 +- .../jobs/PromoteArtifacts_Jenkinsfile_Windows.txt.txt | 2 +- ...PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.txt | 2 +- ...acts_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt | 2 +- .../jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile.txt | 4 ++-- .../PromoteArtifacts_actions_Jenkinsfile_Windows.txt.txt | 4 ++-- ...rtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.txt | 4 ++-- ...ions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt | 4 ++-- tests/jenkins/jobs/PromoteYumRepos_Jenkinsfile.txt | 2 +- .../jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt | 4 ++-- .../jobs/PublishToMavenManifestYml_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/PublishToMaven_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/PublishToNuget_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/PublishToPyPiWithDir_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt | 2 +- .../jobs/RpmDashboardsDistValidation_Jenkinsfile.txt | 2 +- .../jobs/RpmOpenSearchDistValidation_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/RunBwcTestScript_Jenkinsfile.txt | 2 +- ...RunBwcTestScript_OpenSearch_Dashboards_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/RunGradleCheck_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt | 2 +- .../jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt | 2 +- ...nIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile.txt | 2 +- vars/archiveAssembleUpload.groovy | 2 +- vars/assembleManifest.groovy | 2 +- vars/assembleUpload.groovy | 2 +- vars/buildArchive.groovy | 2 +- vars/buildAssembleUpload.groovy | 2 +- vars/buildDockerImage.groovy | 2 +- vars/buildUploadManifestSHA.groovy | 2 +- vars/buildYumRepo.groovy | 2 +- vars/createReleaseTag.groovy | 2 +- vars/createSignatureFiles.groovy | 2 +- vars/detectDockerAgent.groovy | 2 +- vars/detectTestDockerAgent.groovy | 2 +- vars/downloadBuildManifest.groovy | 2 +- vars/getManifestSHA.groovy | 2 +- vars/promoteArtifacts.groovy | 2 +- vars/promoteYumRepos.groovy | 2 +- vars/publishToArtifactsProdBucket.groovy | 2 +- vars/publishToMaven.groovy | 2 +- vars/publishToNuget.groovy | 2 +- vars/publishToPyPi.groovy | 2 +- vars/rpmDashboardsDistValidation.groovy | 2 +- vars/rpmDistValidation.groovy | 2 +- vars/rpmOpenSearchDistValidation.groovy | 2 +- vars/runBwcTestScript.groovy | 2 +- vars/runGradleCheck.groovy | 2 +- vars/runIntegTestScript.groovy | 2 +- vars/runPerfTestScript.groovy | 2 +- vars/uploadArtifacts.groovy | 2 +- vars/uploadMinSnapshotsToS3.groovy | 2 +- vars/uploadTestResults.groovy | 2 +- 82 files changed, 107 insertions(+), 107 deletions(-) diff --git a/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt b/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt index 11de599c8..d38367981 100644 --- a/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt +++ b/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt @@ -5,7 +5,7 @@ ArchiveAssembleUpload_Jenkinsfile.script(groovy.lang.Closure) ArchiveAssembleUpload_Jenkinsfile.archiveAssembleUpload({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar}) archiveAssembleUpload.legacySCM(groovy.lang.Closure) - archiveAssembleUpload.library({identifier=jenkins@main, retriever=null}) + archiveAssembleUpload.library({identifier=jenkins@2.0.0, retriever=null}) archiveAssembleUpload.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() archiveAssembleUpload.echo(Unstashing test-stash-tar before starting the assemble process) @@ -15,17 +15,17 @@ BuildManifest.asBoolean() archiveAssembleUpload.assembleUpload({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar, buildManifest=tar/builds/opensearch/manifest.yml}) assembleUpload.legacySCM(groovy.lang.Closure) - assembleUpload.library({identifier=jenkins@main, retriever=null}) + assembleUpload.library({identifier=jenkins@2.0.0, retriever=null}) assembleUpload.assembleManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar, buildManifest=tar/builds/opensearch/manifest.yml}) assembleManifest.legacySCM(groovy.lang.Closure) - assembleManifest.library({identifier=jenkins@main, retriever=null}) + assembleManifest.library({identifier=jenkins@2.0.0, retriever=null}) assembleManifest.readYaml({file=tar/builds/opensearch/manifest.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 33) assembleManifest.sh(./assemble.sh "tar/builds/opensearch/manifest.yml" --base-url https://ci.opensearch.org/dbc/vars-build/1.3.0/33/linux/x64) assembleUpload.uploadArtifacts({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar, buildManifest=tar/builds/opensearch/manifest.yml}) uploadArtifacts.legacySCM(groovy.lang.Closure) - uploadArtifacts.library({identifier=jenkins@main, retriever=null}) + uploadArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) uploadArtifacts.readYaml({file=tar/builds/opensearch/manifest.yml}) BuildManifest.asBoolean() BuildManifest.getMinArtifact() diff --git a/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt b/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt index 715485fb1..fc82646e4 100644 --- a/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt +++ b/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt @@ -5,7 +5,7 @@ AssembleManifest_rpm_Jenkinsfile.script(groovy.lang.Closure) AssembleManifest_rpm_Jenkinsfile.assembleManifest({buildManifest=tests/data/opensearch-build-1.3.0-rpm.yml}) assembleManifest.legacySCM(groovy.lang.Closure) - assembleManifest.library({identifier=jenkins@main, retriever=null}) + assembleManifest.library({identifier=jenkins@2.0.0, retriever=null}) assembleManifest.readYaml({file=tests/data/opensearch-build-1.3.0-rpm.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 123) @@ -92,7 +92,7 @@ ) assembleManifest.buildYumRepo({baseUrl=https://ci.opensearch.org/dbc/vars-build/1.3.0/123/linux/x64, buildManifest=tests/data/opensearch-build-1.3.0-rpm.yml}) buildYumRepo.legacySCM(groovy.lang.Closure) - buildYumRepo.library({identifier=jenkins@main, retriever=null}) + buildYumRepo.library({identifier=jenkins@2.0.0, retriever=null}) buildYumRepo.readYaml({file=tests/data/opensearch-build-1.3.0-rpm.yml}) BuildManifest.asBoolean() buildYumRepo.echo(Create yum repo metadata and repo file tests/data/opensearch-build-1.3.0-rpm.yml) diff --git a/tests/jenkins/jobs/AssembleManifest_tar_Jenkinsfile.txt b/tests/jenkins/jobs/AssembleManifest_tar_Jenkinsfile.txt index f77048462..6fb6bc1fe 100644 --- a/tests/jenkins/jobs/AssembleManifest_tar_Jenkinsfile.txt +++ b/tests/jenkins/jobs/AssembleManifest_tar_Jenkinsfile.txt @@ -5,7 +5,7 @@ AssembleManifest_tar_Jenkinsfile.script(groovy.lang.Closure) AssembleManifest_tar_Jenkinsfile.assembleManifest({buildManifest=tests/data/opensearch-build-1.3.0.yml}) assembleManifest.legacySCM(groovy.lang.Closure) - assembleManifest.library({identifier=jenkins@main, retriever=null}) + assembleManifest.library({identifier=jenkins@2.0.0, retriever=null}) assembleManifest.readYaml({file=tests/data/opensearch-build-1.3.0.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 123) diff --git a/tests/jenkins/jobs/AssembleUpload_Jenkinsfile.txt b/tests/jenkins/jobs/AssembleUpload_Jenkinsfile.txt index 00cc4340e..1ea8b04eb 100644 --- a/tests/jenkins/jobs/AssembleUpload_Jenkinsfile.txt +++ b/tests/jenkins/jobs/AssembleUpload_Jenkinsfile.txt @@ -5,17 +5,17 @@ AssembleUpload_Jenkinsfile.script(groovy.lang.Closure) AssembleUpload_Jenkinsfile.assembleUpload({buildManifest=tests/data/opensearch-build-1.1.0.yml}) assembleUpload.legacySCM(groovy.lang.Closure) - assembleUpload.library({identifier=jenkins@main, retriever=null}) + assembleUpload.library({identifier=jenkins@2.0.0, retriever=null}) assembleUpload.assembleManifest({buildManifest=tests/data/opensearch-build-1.1.0.yml}) assembleManifest.legacySCM(groovy.lang.Closure) - assembleManifest.library({identifier=jenkins@main, retriever=null}) + assembleManifest.library({identifier=jenkins@2.0.0, retriever=null}) assembleManifest.readYaml({file=tests/data/opensearch-build-1.1.0.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 33) assembleManifest.sh(./assemble.sh "tests/data/opensearch-build-1.1.0.yml" --base-url https://ci.opensearch.org/dbc/vars-build/1.1.0/33/linux/x64) assembleUpload.uploadArtifacts({buildManifest=tests/data/opensearch-build-1.1.0.yml}) uploadArtifacts.legacySCM(groovy.lang.Closure) - uploadArtifacts.library({identifier=jenkins@main, retriever=null}) + uploadArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) uploadArtifacts.readYaml({file=tests/data/opensearch-build-1.1.0.yml}) BuildManifest.asBoolean() BuildManifest.getMinArtifact() diff --git a/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt b/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt index f66781fb9..888c32264 100644 --- a/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt @@ -5,7 +5,7 @@ BuildArchive_Jenkinsfile.script(groovy.lang.Closure) BuildArchive_Jenkinsfile.buildArchive({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar}) buildArchive.legacySCM(groovy.lang.Closure) - buildArchive.library({identifier=jenkins@main, retriever=null}) + buildArchive.library({identifier=jenkins@2.0.0, retriever=null}) buildArchive.buildManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar}) buildManifest.sh(./build.sh tests/data/opensearch-1.3.0.yml -d tar -p linux -a x64) buildArchive.echo(Stashing builds to assemble later with name: test-stash-tar) diff --git a/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt b/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt index aabca8551..844dc5348 100644 --- a/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt @@ -5,7 +5,7 @@ BuildAssembleUpload_Jenkinsfile.script(groovy.lang.Closure) BuildAssembleUpload_Jenkinsfile.buildAssembleUpload({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar}) buildAssembleUpload.legacySCM(groovy.lang.Closure) - buildAssembleUpload.library({identifier=jenkins@main, retriever=null}) + buildAssembleUpload.library({identifier=jenkins@2.0.0, retriever=null}) buildAssembleUpload.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildAssembleUpload.buildManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar}) @@ -14,17 +14,17 @@ BuildManifest.asBoolean() buildAssembleUpload.assembleUpload({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, buildManifest=tar/builds/opensearch/manifest.yml}) assembleUpload.legacySCM(groovy.lang.Closure) - assembleUpload.library({identifier=jenkins@main, retriever=null}) + assembleUpload.library({identifier=jenkins@2.0.0, retriever=null}) assembleUpload.assembleManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, buildManifest=tar/builds/opensearch/manifest.yml}) assembleManifest.legacySCM(groovy.lang.Closure) - assembleManifest.library({identifier=jenkins@main, retriever=null}) + assembleManifest.library({identifier=jenkins@2.0.0, retriever=null}) assembleManifest.readYaml({file=tar/builds/opensearch/manifest.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 33) assembleManifest.sh(./assemble.sh "tar/builds/opensearch/manifest.yml" --base-url https://ci.opensearch.org/dbc/vars-build/1.3.0/33/linux/x64) assembleUpload.uploadArtifacts({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, buildManifest=tar/builds/opensearch/manifest.yml}) uploadArtifacts.legacySCM(groovy.lang.Closure) - uploadArtifacts.library({identifier=jenkins@main, retriever=null}) + uploadArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) uploadArtifacts.readYaml({file=tar/builds/opensearch/manifest.yml}) BuildManifest.asBoolean() BuildManifest.getMinArtifact() diff --git a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_builds_both.txt b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_builds_both.txt index b4e3132d7..95b93d1bd 100644 --- a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_builds_both.txt +++ b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_builds_both.txt @@ -5,7 +5,7 @@ BuildDockerImage_Jenkinsfile.script(groovy.lang.Closure) BuildDockerImage_Jenkinsfile.buildDockerImage({inputManifest=tests/data/opensearch-1.3.0.yml, artifactUrlX64=opensearch.linux.x64, artifactUrlArm64=opensearch.linux.arm64}) buildDockerImage.legacySCM(groovy.lang.Closure) - buildDockerImage.library({identifier=jenkins@main, retriever=null}) + buildDockerImage.library({identifier=jenkins@2.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Trigger docker-build) diff --git a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_arm64.txt b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_arm64.txt index 06f3c6683..fb76b0f9b 100644 --- a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_arm64.txt +++ b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_arm64.txt @@ -5,7 +5,7 @@ BuildDockerImage_Jenkinsfile.script(groovy.lang.Closure) BuildDockerImage_Jenkinsfile.buildDockerImage({inputManifest=tests/data/opensearch-1.3.0.yml, artifactUrlX64=opensearch.linux.x64, artifactUrlArm64=null}) buildDockerImage.legacySCM(groovy.lang.Closure) - buildDockerImage.library({identifier=jenkins@main, retriever=null}) + buildDockerImage.library({identifier=jenkins@2.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Skipping docker build, one of x64 or arm64 artifacts was not built.) diff --git a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_both.txt b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_both.txt index 22f1b936c..b82c9ccb5 100644 --- a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_both.txt +++ b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_both.txt @@ -5,7 +5,7 @@ BuildDockerImage_Jenkinsfile.script(groovy.lang.Closure) BuildDockerImage_Jenkinsfile.buildDockerImage({inputManifest=tests/data/opensearch-1.3.0.yml, artifactUrlX64=null, artifactUrlArm64=null}) buildDockerImage.legacySCM(groovy.lang.Closure) - buildDockerImage.library({identifier=jenkins@main, retriever=null}) + buildDockerImage.library({identifier=jenkins@2.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Skipping docker build, one of x64 or arm64 artifacts was not built.) diff --git a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_x64.txt b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_x64.txt index 875baa480..50f645bbd 100644 --- a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_x64.txt +++ b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_x64.txt @@ -5,7 +5,7 @@ BuildDockerImage_Jenkinsfile.script(groovy.lang.Closure) BuildDockerImage_Jenkinsfile.buildDockerImage({inputManifest=tests/data/opensearch-1.3.0.yml, artifactUrlX64=null, artifactUrlArm64=opensearch.linux.arm64}) buildDockerImage.legacySCM(groovy.lang.Closure) - buildDockerImage.library({identifier=jenkins@main, retriever=null}) + buildDockerImage.library({identifier=jenkins@2.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Skipping docker build, one of x64 or arm64 artifacts was not built.) diff --git a/tests/jenkins/jobs/BuildDockerImage_Qualifier_Jenkinsfile_builds_both.txt b/tests/jenkins/jobs/BuildDockerImage_Qualifier_Jenkinsfile_builds_both.txt index 640b3b170..b6a55b5ef 100644 --- a/tests/jenkins/jobs/BuildDockerImage_Qualifier_Jenkinsfile_builds_both.txt +++ b/tests/jenkins/jobs/BuildDockerImage_Qualifier_Jenkinsfile_builds_both.txt @@ -5,7 +5,7 @@ BuildDockerImage_Qualifier_Jenkinsfile.script(groovy.lang.Closure) BuildDockerImage_Qualifier_Jenkinsfile.buildDockerImage({inputManifest=tests/data/opensearch-2.0.0.yml, artifactUrlX64=opensearch.linux.x64, artifactUrlArm64=opensearch.linux.arm64}) buildDockerImage.legacySCM(groovy.lang.Closure) - buildDockerImage.library({identifier=jenkins@main, retriever=null}) + buildDockerImage.library({identifier=jenkins@2.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-2.0.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Trigger docker-build) diff --git a/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt b/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt index 0827ddeed..eb8b97837 100644 --- a/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt @@ -5,14 +5,14 @@ BuildUploadManifestSHA_Jenkinsfile.script(groovy.lang.Closure) BuildUploadManifestSHA_Jenkinsfile.buildUploadManifestSHA({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64}) buildUploadManifestSHA.legacySCM(groovy.lang.Closure) - buildUploadManifestSHA.library({identifier=jenkins@main, retriever=null}) + buildUploadManifestSHA.library({identifier=jenkins@2.0.0, retriever=null}) buildUploadManifestSHA.getManifestSHA({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64}) getManifestSHA.buildManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, lock=true}) buildManifest.sh(./build.sh tests/data/opensearch-1.3.0.yml -p linux -a x64 --lock) getManifestSHA.sha1(tests/data/opensearch-1.3.0.yml.lock) getManifestSHA.echo(Manifest SHA: sha1) getManifestSHA.legacySCM(groovy.lang.Closure) - getManifestSHA.library({identifier=jenkins@main, retriever=null}) + getManifestSHA.library({identifier=jenkins@2.0.0, retriever=null}) getManifestSHA.readYaml({file=tests/data/opensearch-1.3.0.yml.lock}) InputManifest.asBoolean() InputManifest.getSHAsRoot(get-manifest-sha-build) diff --git a/tests/jenkins/jobs/BuildYumRepo_Jenkinsfile.txt b/tests/jenkins/jobs/BuildYumRepo_Jenkinsfile.txt index d938a1a83..a852f4705 100644 --- a/tests/jenkins/jobs/BuildYumRepo_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BuildYumRepo_Jenkinsfile.txt @@ -5,7 +5,7 @@ BuildYumRepo_Jenkinsfile.script(groovy.lang.Closure) BuildYumRepo_Jenkinsfile.buildYumRepo({buildManifest=tests/data/opensearch-build-1.3.0.yml, baseUrl=https://ci.opensearch.org/ci/dbc/test/1.3.0/9/linux/x64}) buildYumRepo.legacySCM(groovy.lang.Closure) - buildYumRepo.library({identifier=jenkins@main, retriever=null}) + buildYumRepo.library({identifier=jenkins@2.0.0, retriever=null}) buildYumRepo.readYaml({file=tests/data/opensearch-build-1.3.0.yml}) BuildManifest.asBoolean() buildYumRepo.echo(Create yum repo metadata and repo file tests/data/opensearch-build-1.3.0.yml) diff --git a/tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt b/tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt index e815654fc..ceefc7457 100644 --- a/tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt +++ b/tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt @@ -5,7 +5,7 @@ CreateReleaseTag_Jenkinsfile.script(groovy.lang.Closure) CreateReleaseTag_Jenkinsfile.createReleaseTag({distManifest=tests/data/opensearch-build-1.1.0.yml, tagVersion=1.1.0}) createReleaseTag.legacySCM(groovy.lang.Closure) - createReleaseTag.library({identifier=jenkins@main, retriever=null}) + createReleaseTag.library({identifier=jenkins@2.0.0, retriever=null}) createReleaseTag.readYaml({file=tests/data/opensearch-build-1.1.0.yml}) BundleManifest.asBoolean() BundleManifest.getNames() diff --git a/tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt b/tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt index 0377253a4..b7c17d710 100644 --- a/tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt +++ b/tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt @@ -5,7 +5,7 @@ DetectDockerImage_Jenkinsfile.script(groovy.lang.Closure) DetectDockerImage_Jenkinsfile.detectDockerAgent({manifest=tests/data/os-template-1.1.0.yml}) detectDockerAgent.legacySCM(groovy.lang.Closure) - detectDockerAgent.library({identifier=jenkins@main, retriever=null}) + detectDockerAgent.library({identifier=jenkins@2.0.0, retriever=null}) detectDockerAgent.readYaml({file=tests/data/os-template-1.1.0.yml}) InputManifest.asBoolean() detectDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-v1 (null)) @@ -14,7 +14,7 @@ DetectDockerImage_Jenkinsfile.script(groovy.lang.Closure) DetectDockerImage_Jenkinsfile.detectDockerAgent({manifest=tests/data/os-template-1.2.0.yml}) detectDockerAgent.legacySCM(groovy.lang.Closure) - detectDockerAgent.library({identifier=jenkins@main, retriever=null}) + detectDockerAgent.library({identifier=jenkins@2.0.0, retriever=null}) detectDockerAgent.readYaml({file=tests/data/os-template-1.2.0.yml}) InputManifest.asBoolean() detectDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211028 (-e JAVA_HOME=/usr/lib/jvm/adoptopenjdk-14-hotspot)) @@ -26,7 +26,7 @@ DetectDockerImage_Jenkinsfile.script(groovy.lang.Closure) DetectDockerImage_Jenkinsfile.detectDockerAgent({manifest=tests/data/osd-template-1.1.0.yml}) detectDockerAgent.legacySCM(groovy.lang.Closure) - detectDockerAgent.library({identifier=jenkins@main, retriever=null}) + detectDockerAgent.library({identifier=jenkins@2.0.0, retriever=null}) detectDockerAgent.readYaml({file=tests/data/osd-template-1.1.0.yml}) InputManifest.asBoolean() detectDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211028 (null)) @@ -38,7 +38,7 @@ DetectDockerImage_Jenkinsfile.script(groovy.lang.Closure) DetectDockerImage_Jenkinsfile.detectDockerAgent({manifest=tests/data/opensearch-dashboards-1.2.0.yml}) detectDockerAgent.legacySCM(groovy.lang.Closure) - detectDockerAgent.library({identifier=jenkins@main, retriever=null}) + detectDockerAgent.library({identifier=jenkins@2.0.0, retriever=null}) detectDockerAgent.readYaml({file=tests/data/opensearch-dashboards-1.2.0.yml}) InputManifest.asBoolean() detectDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211028 (null)) diff --git a/tests/jenkins/jobs/DetectTestDockerAgent_Jenkinsfile.txt b/tests/jenkins/jobs/DetectTestDockerAgent_Jenkinsfile.txt index b735ff406..45a53e210 100644 --- a/tests/jenkins/jobs/DetectTestDockerAgent_Jenkinsfile.txt +++ b/tests/jenkins/jobs/DetectTestDockerAgent_Jenkinsfile.txt @@ -5,7 +5,7 @@ DetectTestDockerAgent_Jenkinsfile.script(groovy.lang.Closure) DetectTestDockerAgent_Jenkinsfile.detectTestDockerAgent({testManifest=tests/data/opensearch-1.3.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@main, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@2.0.0, retriever=null}) detectTestDockerAgent.readYaml({file=tests/data/opensearch-1.3.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-v1 (null)) diff --git a/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt b/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt index 9a210e66a..cbbe976ca 100644 --- a/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt +++ b/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt @@ -9,7 +9,7 @@ getManifestSHA.sha1(tests/data/opensearch-1.3.0.yml.lock) getManifestSHA.echo(Manifest SHA: sha1) getManifestSHA.legacySCM(groovy.lang.Closure) - getManifestSHA.library({identifier=jenkins@main, retriever=null}) + getManifestSHA.library({identifier=jenkins@2.0.0, retriever=null}) getManifestSHA.readYaml({file=tests/data/opensearch-1.3.0.yml.lock}) InputManifest.asBoolean() InputManifest.getSHAsRoot(get-manifest-sha-build) diff --git a/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt b/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt index d95191bc2..742ee3b8e 100644 --- a/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt +++ b/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt @@ -9,7 +9,7 @@ getManifestSHA.sha1(tests/data/opensearch-1.3.0.yml.lock) getManifestSHA.echo(Manifest SHA: sha1) getManifestSHA.legacySCM(groovy.lang.Closure) - getManifestSHA.library({identifier=jenkins@main, retriever=null}) + getManifestSHA.library({identifier=jenkins@2.0.0, retriever=null}) getManifestSHA.readYaml({file=tests/data/opensearch-1.3.0.yml.lock}) InputManifest.asBoolean() InputManifest.getSHAsRoot(get-manifest-sha-build) diff --git a/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt b/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt index a56af91c0..fcc9059ff 100644 --- a/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt @@ -5,13 +5,13 @@ PerfTest_Jenkinsfile.script(groovy.lang.Closure) PerfTest_Jenkinsfile.downloadBuildManifest({url=test://artifact.url, path=tests/data/opensearch-1.3.0-bundle.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@main, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@2.0.0, retriever=null}) downloadBuildManifest.sh(curl -sSL test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() PerfTest_Jenkinsfile.runPerfTestScript({bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, buildId=1236, architecture=x64, insecure=false, workload=nyc_taxis, testIterations=1, warmupIterations=1, stackNameSuffix=307}) runPerfTestScript.legacySCM(groovy.lang.Closure) - runPerfTestScript.library({identifier=jenkins@main, retriever=null}) + runPerfTestScript.library({identifier=jenkins@2.0.0, retriever=null}) runPerfTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runPerfTestScript.sh( @@ -31,13 +31,13 @@ PerfTest_Jenkinsfile.script(groovy.lang.Closure) PerfTest_Jenkinsfile.downloadBuildManifest({url=test://artifact.url, path=tests/data/opensearch-1.3.0-bundle.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@main, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@2.0.0, retriever=null}) downloadBuildManifest.sh(curl -sSL test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() PerfTest_Jenkinsfile.runPerfTestScript({bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, buildId=1236, architecture=x64, insecure=true, workload=nyc_taxis, testIterations=1, warmupIterations=1, stackNameSuffix=307}) runPerfTestScript.legacySCM(groovy.lang.Closure) - runPerfTestScript.library({identifier=jenkins@main, retriever=null}) + runPerfTestScript.library({identifier=jenkins@2.0.0, retriever=null}) runPerfTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runPerfTestScript.sh( diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile.txt index c22f8471b..67e91b53a 100644 --- a/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile.txt @@ -5,7 +5,7 @@ PromoteArtifactsQualifier_Jenkinsfile.script(groovy.lang.Closure) PromoteArtifactsQualifier_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-2.0.0-rc1.yml}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile_Windows.txt.txt index eb5d30a5b..99e96ede5 100644 --- a/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile_Windows.txt.txt +++ b/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile_Windows.txt.txt @@ -5,7 +5,7 @@ PromoteArtifactsQualifier_Jenkinsfile.script(groovy.lang.Closure) PromoteArtifactsQualifier_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-2.0.0-rc1.yml}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.txt index 45d1cf995..c4f9c16c7 100644 --- a/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.txt @@ -5,7 +5,7 @@ PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.script(groovy.lang.Closure) PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt index fa99932f6..7adabdd69 100644 --- a/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt +++ b/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt @@ -5,7 +5,7 @@ PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.script(groovy.lang.Closure) PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile.txt index d8aabf1b3..2294fbc12 100644 --- a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile.txt @@ -6,10 +6,10 @@ PromoteArtifactsQualifier_actions_Jenkinsfile.createSha512Checksums() PromoteArtifactsQualifier_actions_Jenkinsfile.createSignatureFiles() createSignatureFiles.legacySCM(groovy.lang.Closure) - createSignatureFiles.library({identifier=jenkins@main, retriever=null}) + createSignatureFiles.library({identifier=jenkins@2.0.0, retriever=null}) PromoteArtifactsQualifier_actions_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-2.0.0-rc1.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile_Windows.txt.txt index 8199c3e36..f4fe6612e 100644 --- a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile_Windows.txt.txt +++ b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile_Windows.txt.txt @@ -6,10 +6,10 @@ PromoteArtifactsQualifier_actions_Jenkinsfile.createSha512Checksums() PromoteArtifactsQualifier_actions_Jenkinsfile.createSignatureFiles() createSignatureFiles.legacySCM(groovy.lang.Closure) - createSignatureFiles.library({identifier=jenkins@main, retriever=null}) + createSignatureFiles.library({identifier=jenkins@2.0.0, retriever=null}) PromoteArtifactsQualifier_actions_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-2.0.0-rc1.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.txt index b979a1e0d..638eecb4e 100644 --- a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.txt @@ -6,10 +6,10 @@ PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.createSha512Checksums() PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.createSignatureFiles() createSignatureFiles.legacySCM(groovy.lang.Closure) - createSignatureFiles.library({identifier=jenkins@main, retriever=null}) + createSignatureFiles.library({identifier=jenkins@2.0.0, retriever=null}) PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-2.0.0-rc1.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt index 84623bb25..40816db4a 100644 --- a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt +++ b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt @@ -6,10 +6,10 @@ PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.createSha512Checksums() PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.createSignatureFiles() createSignatureFiles.legacySCM(groovy.lang.Closure) - createSignatureFiles.library({identifier=jenkins@main, retriever=null}) + createSignatureFiles.library({identifier=jenkins@2.0.0, retriever=null}) PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-2.0.0-rc1.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile.txt index bbe1b7a00..c09f7bff2 100644 --- a/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile.txt @@ -5,7 +5,7 @@ PromoteArtifacts_Jenkinsfile.script(groovy.lang.Closure) PromoteArtifacts_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-1.3.0.yml}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile_Windows.txt.txt index 3ae0c9cc4..1854269f2 100644 --- a/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile_Windows.txt.txt +++ b/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile_Windows.txt.txt @@ -5,7 +5,7 @@ PromoteArtifacts_Jenkinsfile.script(groovy.lang.Closure) PromoteArtifacts_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-1.3.0.yml}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.txt index 6de925c39..a88dd315a 100644 --- a/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.txt @@ -5,7 +5,7 @@ PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.script(groovy.lang.Closure) PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-1.3.0.yml}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt index 21d9a725e..b624dc75f 100644 --- a/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt +++ b/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt @@ -5,7 +5,7 @@ PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.script(groovy.lang.Closure) PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-1.3.0.yml}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile.txt index 6fb474636..05007c771 100644 --- a/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile.txt @@ -6,10 +6,10 @@ PromoteArtifacts_actions_Jenkinsfile.createSha512Checksums() PromoteArtifacts_actions_Jenkinsfile.createSignatureFiles() createSignatureFiles.legacySCM(groovy.lang.Closure) - createSignatureFiles.library({identifier=jenkins@main, retriever=null}) + createSignatureFiles.library({identifier=jenkins@2.0.0, retriever=null}) PromoteArtifacts_actions_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-1.3.0.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile_Windows.txt.txt index 1645274c4..7c54ff903 100644 --- a/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile_Windows.txt.txt +++ b/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile_Windows.txt.txt @@ -6,10 +6,10 @@ PromoteArtifacts_actions_Jenkinsfile.createSha512Checksums() PromoteArtifacts_actions_Jenkinsfile.createSignatureFiles() createSignatureFiles.legacySCM(groovy.lang.Closure) - createSignatureFiles.library({identifier=jenkins@main, retriever=null}) + createSignatureFiles.library({identifier=jenkins@2.0.0, retriever=null}) PromoteArtifacts_actions_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-1.3.0.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.txt index 381e439bf..6f14514af 100644 --- a/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.txt @@ -6,10 +6,10 @@ PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.createSha512Checksums() PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.createSignatureFiles() createSignatureFiles.legacySCM(groovy.lang.Closure) - createSignatureFiles.library({identifier=jenkins@main, retriever=null}) + createSignatureFiles.library({identifier=jenkins@2.0.0, retriever=null}) PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-1.3.0.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt index e39f76b37..0f5649621 100644 --- a/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt +++ b/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt @@ -6,10 +6,10 @@ PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.createSha512Checksums() PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.createSignatureFiles() createSignatureFiles.legacySCM(groovy.lang.Closure) - createSignatureFiles.library({identifier=jenkins@main, retriever=null}) + createSignatureFiles.library({identifier=jenkins@2.0.0, retriever=null}) PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-1.3.0.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@main, retriever=null}) + promoteArtifacts.library({identifier=jenkins@2.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteYumRepos_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteYumRepos_Jenkinsfile.txt index f15dfe489..078a69d05 100644 --- a/tests/jenkins/jobs/PromoteYumRepos_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteYumRepos_Jenkinsfile.txt @@ -5,7 +5,7 @@ PromoteYumRepos_Jenkinsfile.script(groovy.lang.Closure) PromoteYumRepos_Jenkinsfile.promoteYumRepos({buildNumber=123, jobName=opensearch, manifest=tests/data/opensearch-1.3.0.yml}) promoteYumRepos.legacySCM(groovy.lang.Closure) - promoteYumRepos.library({identifier=jenkins@main, retriever=null}) + promoteYumRepos.library({identifier=jenkins@2.0.0, retriever=null}) promoteYumRepos.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteYumRepos.string({credentialsId=jenkins-artifact-promotion-role, variable=ARTIFACT_PROMOTION_ROLE_NAME}) diff --git a/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt index 0592902a2..99eba2213 100644 --- a/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt @@ -5,7 +5,7 @@ PublishToArtifactsProdBucket_Jenkinsfile.script(groovy.lang.Closure) PublishToArtifactsProdBucket_Jenkinsfile.publishToArtifactsProdBucket({assumedRoleName=test-role, source=the-windows-msi.msi, destination=msi/, signingPlatform=windows, sigType=null, sigOverwrite=true}) publishToArtifactsProdBucket.legacySCM(groovy.lang.Closure) - publishToArtifactsProdBucket.library({identifier=jenkins@main, retriever=null}) + publishToArtifactsProdBucket.library({identifier=jenkins@2.0.0, retriever=null}) publishToArtifactsProdBucket.signArtifacts({artifactPath=the-windows-msi.msi, platform=windows, sigtype=null, overwrite=true}) signArtifacts.echo(PGP or Windows Signature Signing) signArtifacts.fileExists(/tmp/workspace/sign.sh) @@ -39,7 +39,7 @@ publishToArtifactsProdBucket.s3Upload({file=the-windows-msi.msi, bucket=ARTIFACT_PRODUCTION_BUCKET_NAME, path=msi/}) PublishToArtifactsProdBucket_Jenkinsfile.publishToArtifactsProdBucket({assumedRoleName=test-role-2, source=reporting-cli-2.3.0.tg.gz, destination=reporting-cli/}) publishToArtifactsProdBucket.legacySCM(groovy.lang.Closure) - publishToArtifactsProdBucket.library({identifier=jenkins@main, retriever=null}) + publishToArtifactsProdBucket.library({identifier=jenkins@2.0.0, retriever=null}) publishToArtifactsProdBucket.signArtifacts({artifactPath=reporting-cli-2.3.0.tg.gz, platform=linux, sigtype=.sig, overwrite=false}) signArtifacts.echo(PGP or Windows Signature Signing) signArtifacts.fileExists(/tmp/workspace/sign.sh) diff --git a/tests/jenkins/jobs/PublishToMavenManifestYml_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToMavenManifestYml_Jenkinsfile.txt index db8759004..c0ebdd39d 100644 --- a/tests/jenkins/jobs/PublishToMavenManifestYml_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PublishToMavenManifestYml_Jenkinsfile.txt @@ -5,7 +5,7 @@ PublishToMavenManifestYml_Jenkinsfile.script(groovy.lang.Closure) PublishToMavenManifestYml_Jenkinsfile.publishToMaven({signingArtifactsPath=/path/to/signing/manifest.yml, mavenArtifactsPath=/path/to/maven/artifacts, autoPublish=false}) publishToMaven.legacySCM(groovy.lang.Closure) - publishToMaven.library({identifier=jenkins@main, retriever=null}) + publishToMaven.library({identifier=jenkins@2.0.0, retriever=null}) publishToMaven.loadCustomScript({scriptPath=publish/stage-maven-release.sh, scriptName=stage-maven-release.sh}) loadCustomScript.libraryResource(publish/stage-maven-release.sh) loadCustomScript.writeFile({file=stage-maven-release.sh, text=#!/bin/bash diff --git a/tests/jenkins/jobs/PublishToMaven_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToMaven_Jenkinsfile.txt index e31c736d9..787c46e45 100644 --- a/tests/jenkins/jobs/PublishToMaven_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PublishToMaven_Jenkinsfile.txt @@ -5,7 +5,7 @@ PublishToMaven_Jenkinsfile.script(groovy.lang.Closure) PublishToMaven_Jenkinsfile.publishToMaven({signingArtifactsPath=/path/to/signing, mavenArtifactsPath=/path/to/maven/artifacts, autoPublish=true}) publishToMaven.legacySCM(groovy.lang.Closure) - publishToMaven.library({identifier=jenkins@main, retriever=null}) + publishToMaven.library({identifier=jenkins@2.0.0, retriever=null}) publishToMaven.loadCustomScript({scriptPath=publish/stage-maven-release.sh, scriptName=stage-maven-release.sh}) loadCustomScript.libraryResource(publish/stage-maven-release.sh) loadCustomScript.writeFile({file=stage-maven-release.sh, text=#!/bin/bash diff --git a/tests/jenkins/jobs/PublishToNuget_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToNuget_Jenkinsfile.txt index bd72853db..fb1d1046c 100644 --- a/tests/jenkins/jobs/PublishToNuget_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PublishToNuget_Jenkinsfile.txt @@ -5,7 +5,7 @@ PublishToNuget_Jenkinsfile.script(groovy.lang.Closure) PublishToNuget_Jenkinsfile.publishToNuget({repository=https://github.com/opensearch-project/opensearch-net, tag=1.2.0, apiKeyCredentialId=net-api-key, solutionFilePath=test-solution-file.sln}) publishToNuget.legacySCM(groovy.lang.Closure) - publishToNuget.library({identifier=jenkins@main, retriever=null}) + publishToNuget.library({identifier=jenkins@2.0.0, retriever=null}) publishToNuget.checkout({$class=GitSCM, branches=[{name=1.2.0}], userRemoteConfigs=[{url=https://github.com/opensearch-project/opensearch-net}]}) publishToNuget.sh( dotnet build /tmp/workspace/test-solution-file.sln --configuration Release diff --git a/tests/jenkins/jobs/PublishToPyPiWithDir_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToPyPiWithDir_Jenkinsfile.txt index fad69a21a..506ec6dcd 100644 --- a/tests/jenkins/jobs/PublishToPyPiWithDir_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PublishToPyPiWithDir_Jenkinsfile.txt @@ -5,7 +5,7 @@ PublishToPyPiWithDir_Jenkinsfile.script(groovy.lang.Closure) PublishToPyPiWithDir_Jenkinsfile.publishToPyPi({credentialId=pypi-token, artifactsPath=test}) publishToPyPi.legacySCM(groovy.lang.Closure) - publishToPyPi.library({identifier=jenkins@main, retriever=null}) + publishToPyPi.library({identifier=jenkins@2.0.0, retriever=null}) publishToPyPi.signArtifacts({artifactPath=/tmp/workspace/test, sigtype=.asc, platform=linux}) signArtifacts.echo(PGP or Windows Signature Signing) signArtifacts.fileExists(/tmp/workspace/sign.sh) diff --git a/tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt index 2adfd5df5..4bc648b1b 100644 --- a/tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt @@ -5,7 +5,7 @@ PublishToPyPi_Jenkinsfile.script(groovy.lang.Closure) PublishToPyPi_Jenkinsfile.publishToPyPi({credentialId=pypi-token}) publishToPyPi.legacySCM(groovy.lang.Closure) - publishToPyPi.library({identifier=jenkins@main, retriever=null}) + publishToPyPi.library({identifier=jenkins@2.0.0, retriever=null}) publishToPyPi.signArtifacts({artifactPath=/tmp/workspace/dist, sigtype=.asc, platform=linux}) signArtifacts.echo(PGP or Windows Signature Signing) signArtifacts.fileExists(/tmp/workspace/sign.sh) diff --git a/tests/jenkins/jobs/RpmDashboardsDistValidation_Jenkinsfile.txt b/tests/jenkins/jobs/RpmDashboardsDistValidation_Jenkinsfile.txt index 99b632109..7491ea026 100644 --- a/tests/jenkins/jobs/RpmDashboardsDistValidation_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RpmDashboardsDistValidation_Jenkinsfile.txt @@ -5,7 +5,7 @@ RpmDashboardsDistValidation_Jenkinsfile.script(groovy.lang.Closure) RpmDashboardsDistValidation_Jenkinsfile.rpmDashboardsDistValidation({bundleManifest=tests/data/opensearch-dashboards-1.3.0-x64-rpm.yml, rpmDistribution=/tmp/workspace/opensearch-dashboards-1.3.0-linux-x64.rpm}) rpmDashboardsDistValidation.legacySCM(groovy.lang.Closure) - rpmDashboardsDistValidation.library({identifier=jenkins@main, retriever=null}) + rpmDashboardsDistValidation.library({identifier=jenkins@2.0.0, retriever=null}) rpmDashboardsDistValidation.readYaml({file=tests/data/opensearch-dashboards-1.3.0-x64-rpm.yml}) BundleManifest.asBoolean() BundleManifest.getNames() diff --git a/tests/jenkins/jobs/RpmOpenSearchDistValidation_Jenkinsfile.txt b/tests/jenkins/jobs/RpmOpenSearchDistValidation_Jenkinsfile.txt index e90169009..4100181e6 100644 --- a/tests/jenkins/jobs/RpmOpenSearchDistValidation_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RpmOpenSearchDistValidation_Jenkinsfile.txt @@ -5,7 +5,7 @@ RpmOpenSearchDistValidation_Jenkinsfile.script(groovy.lang.Closure) RpmOpenSearchDistValidation_Jenkinsfile.rpmOpenSearchDistValidation({bundleManifest=tests/data/opensearch-1.3.1-x64-rpm.yml, rpmDistribution=/tmp/workspace/opensearch-1.3.1-linux-x64.rpm}) rpmOpenSearchDistValidation.legacySCM(groovy.lang.Closure) - rpmOpenSearchDistValidation.library({identifier=jenkins@main, retriever=null}) + rpmOpenSearchDistValidation.library({identifier=jenkins@2.0.0, retriever=null}) rpmOpenSearchDistValidation.readYaml({file=tests/data/opensearch-1.3.1-x64-rpm.yml}) BundleManifest.asBoolean() BundleManifest.getNames() diff --git a/tests/jenkins/jobs/RunBwcTestScript_Jenkinsfile.txt b/tests/jenkins/jobs/RunBwcTestScript_Jenkinsfile.txt index 482338229..0f62f5d35 100644 --- a/tests/jenkins/jobs/RunBwcTestScript_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunBwcTestScript_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunBwcTestScript_Jenkinsfile.script(groovy.lang.Closure) RunBwcTestScript_Jenkinsfile.runBwcTestScript({jobName=dummy_job, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml, buildId=717}) runBwcTestScript.legacySCM(groovy.lang.Closure) - runBwcTestScript.library({identifier=jenkins@main, retriever=null}) + runBwcTestScript.library({identifier=jenkins@2.0.0, retriever=null}) runBwcTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrl(dummy_job, 717) diff --git a/tests/jenkins/jobs/RunBwcTestScript_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/RunBwcTestScript_OpenSearch_Dashboards_Jenkinsfile.txt index 16fb38ad4..ac3339e52 100644 --- a/tests/jenkins/jobs/RunBwcTestScript_OpenSearch_Dashboards_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunBwcTestScript_OpenSearch_Dashboards_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunBwcTestScript_OpenSearch_Dashboards_Jenkinsfile.script(groovy.lang.Closure) RunBwcTestScript_OpenSearch_Dashboards_Jenkinsfile.runBwcTestScript({jobName=dummy_job, buildManifest=tests/data/opensearch-dashboards-1.2.0-build.yml, testManifest=tests/data/opensearch-dashboards-1.2.0-test.yml, buildId=215}) runBwcTestScript.legacySCM(groovy.lang.Closure) - runBwcTestScript.library({identifier=jenkins@main, retriever=null}) + runBwcTestScript.library({identifier=jenkins@2.0.0, retriever=null}) runBwcTestScript.readYaml({file=tests/data/opensearch-dashboards-1.2.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrl(dummy_job, 215) diff --git a/tests/jenkins/jobs/RunGradleCheck_Jenkinsfile.txt b/tests/jenkins/jobs/RunGradleCheck_Jenkinsfile.txt index e20675cdf..5dca548a4 100644 --- a/tests/jenkins/jobs/RunGradleCheck_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunGradleCheck_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunGradleCheck_Jenkinsfile.script(groovy.lang.Closure) RunGradleCheck_Jenkinsfile.runGradleCheck({gitRepoUrl=https://github.com/opensearch-project/OpenSearch, gitReference=main}) runGradleCheck.legacySCM(groovy.lang.Closure) - runGradleCheck.library({identifier=jenkins@main, retriever=null}) + runGradleCheck.library({identifier=jenkins@2.0.0, retriever=null}) runGradleCheck.usernamePassword({credentialsId=jenkins-gradle-check-s3-aws-credentials, usernameVariable=amazon_s3_access_key, passwordVariable=amazon_s3_secret_key}) runGradleCheck.usernamePassword({credentialsId=jenkins-gradle-check-s3-aws-resources, usernameVariable=amazon_s3_base_path, passwordVariable=amazon_s3_bucket}) runGradleCheck.withCredentials([[amazon_s3_access_key, amazon_s3_secret_key], [amazon_s3_base_path, amazon_s3_bucket]], groovy.lang.Closure) diff --git a/tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt index cfc7eaab2..e855bfb8b 100644 --- a/tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunIntegTestScript_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScript_Jenkinsfile.runIntegTestScript({jobName=dummy_job, componentName=OpenSearch, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@2.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() runIntegTestScript.echo(Build Id: c3ff7a232d25403fa8cc14c97799c323) diff --git a/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt index 22db480fc..49ae17e8a 100644 --- a/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunIntegTestScript_LocalPath_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScript_LocalPath_Jenkinsfile.runIntegTestScript({jobName=dummy_job, componentName=OpenSearch, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml, localPath=tests/jenkins/artifacts/tar}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@2.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() runIntegTestScript.echo(Build Id: c3ff7a232d25403fa8cc14c97799c323) diff --git a/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt index 96d2b6fa8..f6d5d0c28 100644 --- a/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.runIntegTestScript({jobName=dummy_job, componentName=functionalTestDashboards, buildManifest=tests/data/opensearch-dashboards-1.2.0-build.yml, testManifest=tests/data/opensearch-dashboards-1.2.0-test.yml}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@2.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-dashboards-1.2.0-build.yml}) BuildManifest.asBoolean() runIntegTestScript.echo(Build Id: 215) diff --git a/tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt b/tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt index 2fcc9a00d..03f94fd5c 100644 --- a/tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt +++ b/tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt @@ -5,7 +5,7 @@ UploadTestResults_Jenkinsfile.script(groovy.lang.Closure) UploadTestResults_Jenkinsfile.uploadTestResults({buildManifestFileName=tests/data/opensearch-1.3.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@main, retriever=null}) + uploadTestResults.library({identifier=jenkins@2.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: c3ff7a232d25403fa8cc14c97799c323) diff --git a/tests/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile.txt b/tests/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile.txt index f99042409..ce5485e55 100644 --- a/tests/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile.txt +++ b/tests/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile.txt @@ -6,7 +6,7 @@ uploadMinSnapshotsToS3_Jenkinsfile.createSha512Checksums() uploadMinSnapshotsToS3_Jenkinsfile.uploadMinSnapshotsToS3({fileActions=[groovy.lang.Closure], manifest=tests/data/opensearch-1.3.0-build.yml, distribution=tar}) uploadMinSnapshotsToS3.legacySCM(groovy.lang.Closure) - uploadMinSnapshotsToS3.library({identifier=jenkins@main, retriever=null}) + uploadMinSnapshotsToS3.library({identifier=jenkins@2.0.0, retriever=null}) uploadMinSnapshotsToS3.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) InputManifest.asBoolean() uploadMinSnapshotsToS3.echo(Retreving build manifest from: tests/data/tar/builds/opensearch/manifest.yml) diff --git a/vars/archiveAssembleUpload.groovy b/vars/archiveAssembleUpload.groovy index 5c5a88e7f..881d5237d 100644 --- a/vars/archiveAssembleUpload.groovy +++ b/vars/archiveAssembleUpload.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ def call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) String stashName = "${args.stashName}" diff --git a/vars/assembleManifest.groovy b/vars/assembleManifest.groovy index 585c5c3e7..a4ac8aebb 100644 --- a/vars/assembleManifest.groovy +++ b/vars/assembleManifest.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) def filename = buildManifest.build.getFilename() def baseUrl = buildManifest.getArtifactRootUrlWithoutDistribution("${PUBLIC_ARTIFACT_URL}", "${JOB_NAME}", "${BUILD_NUMBER}") diff --git a/vars/assembleUpload.groovy b/vars/assembleUpload.groovy index 88f13ad31..64cdfe579 100644 --- a/vars/assembleUpload.groovy +++ b/vars/assembleUpload.groovy @@ -8,7 +8,7 @@ */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) assembleManifest(args) uploadArtifacts(args) diff --git a/vars/buildArchive.groovy b/vars/buildArchive.groovy index 3eba4aded..0637a9ae3 100644 --- a/vars/buildArchive.groovy +++ b/vars/buildArchive.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) buildManifest(args) String stashName = "${args.stashName}" diff --git a/vars/buildAssembleUpload.groovy b/vars/buildAssembleUpload.groovy index 1019ae501..e35492776 100644 --- a/vars/buildAssembleUpload.groovy +++ b/vars/buildAssembleUpload.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ def call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) buildManifest(args) diff --git a/vars/buildDockerImage.groovy b/vars/buildDockerImage.groovy index 68b2571e3..888e7f5c5 100644 --- a/vars/buildDockerImage.groovy +++ b/vars/buildDockerImage.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def inputManifest = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) def build_qualifier = inputManifest.build.qualifier def build_number = args.buildNumber ?: "${BUILD_NUMBER}" diff --git a/vars/buildUploadManifestSHA.groovy b/vars/buildUploadManifestSHA.groovy index 2b1ddee11..1bb17368a 100644 --- a/vars/buildUploadManifestSHA.groovy +++ b/vars/buildUploadManifestSHA.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def sha = getManifestSHA(args) diff --git a/vars/buildYumRepo.groovy b/vars/buildYumRepo.groovy index bb6ced915..cf558e055 100644 --- a/vars/buildYumRepo.groovy +++ b/vars/buildYumRepo.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) echo "Create yum repo metadata and repo file ${args.buildManifest}" diff --git a/vars/createReleaseTag.groovy b/vars/createReleaseTag.groovy index d0f893c8c..e7c1d8bb9 100644 --- a/vars/createReleaseTag.groovy +++ b/vars/createReleaseTag.groovy @@ -8,7 +8,7 @@ */ def call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def bundleManifestObj = lib.jenkins.BundleManifest.new(readYaml(file: args.distManifest)) def componentsName = bundleManifestObj.getNames() diff --git a/vars/createSignatureFiles.groovy b/vars/createSignatureFiles.groovy index 72cda7b7f..fd3f5759f 100644 --- a/vars/createSignatureFiles.groovy +++ b/vars/createSignatureFiles.groovy @@ -8,7 +8,7 @@ */ Closure call() { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) return { args -> signArtifacts(args) } diff --git a/vars/detectDockerAgent.groovy b/vars/detectDockerAgent.groovy index cfa74aac6..5f662de01 100644 --- a/vars/detectDockerAgent.groovy +++ b/vars/detectDockerAgent.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ Map call(Map args = [:]) { - def lib = library(identifier: "jenkins@main", retriever: legacySCM(scm)) + def lib = library(identifier: "jenkins@2.0.0", retriever: legacySCM(scm)) String manifest = args.manifest ?: "manifests/${INPUT_MANIFEST}" def inputManifest = lib.jenkins.InputManifest.new(readYaml(file: manifest)) dockerImage = inputManifest.ci?.image?.name ?: 'opensearchstaging/ci-runner:ci-runner-centos7-v1' diff --git a/vars/detectTestDockerAgent.groovy b/vars/detectTestDockerAgent.groovy index acc9c8819..2fc1ca5e7 100644 --- a/vars/detectTestDockerAgent.groovy +++ b/vars/detectTestDockerAgent.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ Map call(Map args = [:]) { - def lib = library(identifier: "jenkins@main", retriever: legacySCM(scm)) + def lib = library(identifier: "jenkins@2.0.0", retriever: legacySCM(scm)) String manifest = args.testManifest ?: "manifests/${TEST_MANIFEST}" def testManifest = lib.jenkins.TestManifest.new(readYaml(file: manifest)) dockerImage = testManifest.ci?.image?.name ?: 'opensearchstaging/ci-runner:ci-runner-centos7-v1' diff --git a/vars/downloadBuildManifest.groovy b/vars/downloadBuildManifest.groovy index d0d21b974..b83ae8248 100644 --- a/vars/downloadBuildManifest.groovy +++ b/vars/downloadBuildManifest.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ def call(Map args = [:]) { - def lib = library(identifier: "jenkins@main", retriever: legacySCM(scm)) + def lib = library(identifier: "jenkins@2.0.0", retriever: legacySCM(scm)) sh "curl -sSL ${args.url} --output ${args.path}" def buildManifestObj = lib.jenkins.BuildManifest.new(readYaml(file: args.path)) diff --git a/vars/getManifestSHA.groovy b/vars/getManifestSHA.groovy index 76ede00df..8ea95a22c 100644 --- a/vars/getManifestSHA.groovy +++ b/vars/getManifestSHA.groovy @@ -21,7 +21,7 @@ Map call(Map args = [:]) { String manifestSHA = sha1(manifestLock) echo "Manifest SHA: ${manifestSHA}" - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: manifestLock)) String shasRoot = inputManifestObj.getSHAsRoot(jobName) String manifestSHAPath = "${shasRoot}/${manifestSHA}.yml" diff --git a/vars/promoteArtifacts.groovy b/vars/promoteArtifacts.groovy index db7fca4b3..59b2103a6 100644 --- a/vars/promoteArtifacts.groovy +++ b/vars/promoteArtifacts.groovy @@ -8,7 +8,7 @@ */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) // fileActions are a closure that accepts a String, filepath with return type void List fileActions = args.fileActions ?: [] diff --git a/vars/promoteYumRepos.groovy b/vars/promoteYumRepos.groovy index b79bb4f8a..3bf323f6d 100644 --- a/vars/promoteYumRepos.groovy +++ b/vars/promoteYumRepos.groovy @@ -8,7 +8,7 @@ */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) String manifest = args.manifest ?: "manifests/${INPUT_MANIFEST}" def inputManifest = lib.jenkins.InputManifest.new(readYaml(file: manifest)) diff --git a/vars/publishToArtifactsProdBucket.groovy b/vars/publishToArtifactsProdBucket.groovy index 2d38e4994..e17acb9cb 100644 --- a/vars/publishToArtifactsProdBucket.groovy +++ b/vars/publishToArtifactsProdBucket.groovy @@ -17,7 +17,7 @@ @param Map[sigOverwrite] - Allow output artifacts to overwrite the existing artifacts. Defaults to false */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) println('Signing the artifacts') signArtifacts( artifactPath: args.source, diff --git a/vars/publishToMaven.groovy b/vars/publishToMaven.groovy index 5c5d5c644..54cfdb212 100644 --- a/vars/publishToMaven.groovy +++ b/vars/publishToMaven.groovy @@ -15,7 +15,7 @@ */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) loadCustomScript(scriptPath: 'publish/stage-maven-release.sh', scriptName: 'stage-maven-release.sh') def autoPublish = args.autoPublish ?: false diff --git a/vars/publishToNuget.groovy b/vars/publishToNuget.groovy index dfaa01dfd..900ade036 100644 --- a/vars/publishToNuget.groovy +++ b/vars/publishToNuget.groovy @@ -17,7 +17,7 @@ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) checkout([$class: 'GitSCM', branches: [[name: "${args.tag}" ]], userRemoteConfigs: [[url: "${args.repository}" ]]]) sh """ dotnet build ${WORKSPACE}/${args.solutionFilePath} --configuration Release diff --git a/vars/publishToPyPi.groovy b/vars/publishToPyPi.groovy index 3ac164900..9ee3db8b8 100644 --- a/vars/publishToPyPi.groovy +++ b/vars/publishToPyPi.groovy @@ -13,7 +13,7 @@ @param args.artifactsPath - The directory containing distribution files to upload to the repository. Defaults to 'dist/*' */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) String releaseArtifactsDir = args.artifactsPath ? "${WORKSPACE}/${args.artifactsPath}" : "${WORKSPACE}/dist" signArtifacts( diff --git a/vars/rpmDashboardsDistValidation.groovy b/vars/rpmDashboardsDistValidation.groovy index 73c8f7de5..86fb82f4f 100644 --- a/vars/rpmDashboardsDistValidation.groovy +++ b/vars/rpmDashboardsDistValidation.groovy @@ -14,7 +14,7 @@ */ def call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def BundleManifestObj = lib.jenkins.BundleManifest.new(readYaml(file: args.bundleManifest)) def distFile = args.rpmDistribution def name = BundleManifestObj.build.getFilename() //opensearch-dashboards diff --git a/vars/rpmDistValidation.groovy b/vars/rpmDistValidation.groovy index 30f1bfc54..7d7990307 100644 --- a/vars/rpmDistValidation.groovy +++ b/vars/rpmDistValidation.groovy @@ -13,7 +13,7 @@ */ def call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def bundleManifestURL = args.bundleManifestURL sh ("curl -sL $bundleManifestURL -o $WORKSPACE/manifest.yml") def bundleManifest = "$WORKSPACE/manifest.yml" diff --git a/vars/rpmOpenSearchDistValidation.groovy b/vars/rpmOpenSearchDistValidation.groovy index 9250fed2d..a8cc5c776 100644 --- a/vars/rpmOpenSearchDistValidation.groovy +++ b/vars/rpmOpenSearchDistValidation.groovy @@ -14,7 +14,7 @@ */ def call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def BundleManifestObj = lib.jenkins.BundleManifest.new(readYaml(file: args.bundleManifest)) def distFile = args.rpmDistribution def name = BundleManifestObj.build.getFilename() //opensearch diff --git a/vars/runBwcTestScript.groovy b/vars/runBwcTestScript.groovy index c8d958d96..5803f9642 100644 --- a/vars/runBwcTestScript.groovy +++ b/vars/runBwcTestScript.groovy @@ -8,7 +8,7 @@ */ void call(Map args = [:]) { String jobName = args.jobName ?: 'distribution-build-opensearch' - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) String artifactRootUrl = buildManifest.getArtifactRootUrl(jobName, args.buildId) echo "Artifact root URL: ${artifactRootUrl}" diff --git a/vars/runGradleCheck.groovy b/vars/runGradleCheck.groovy index 533c13ae3..e99f236a0 100644 --- a/vars/runGradleCheck.groovy +++ b/vars/runGradleCheck.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def git_repo_url = args.gitRepoUrl ?: 'null' def git_reference = args.gitReference ?: 'null' diff --git a/vars/runIntegTestScript.groovy b/vars/runIntegTestScript.groovy index 398bf6ab6..c3fc0b6e4 100644 --- a/vars/runIntegTestScript.groovy +++ b/vars/runIntegTestScript.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) String jobName = args.jobName ?: 'distribution-build-opensearch' def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) diff --git a/vars/runPerfTestScript.groovy b/vars/runPerfTestScript.groovy index 4c78e01e1..9929bd166 100644 --- a/vars/runPerfTestScript.groovy +++ b/vars/runPerfTestScript.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.bundleManifest)) install_opensearch_infra_dependencies() diff --git a/vars/uploadArtifacts.groovy b/vars/uploadArtifacts.groovy index 61e446352..5e59b1623 100644 --- a/vars/uploadArtifacts.groovy +++ b/vars/uploadArtifacts.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) def minArtifactPath = buildManifest.getMinArtifact() diff --git a/vars/uploadMinSnapshotsToS3.groovy b/vars/uploadMinSnapshotsToS3.groovy index 53d83d2ef..ec685c87b 100644 --- a/vars/uploadMinSnapshotsToS3.groovy +++ b/vars/uploadMinSnapshotsToS3.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) List fileActions = args.fileActions ?: [] String manifest = args.manifest ?: "manifests/${INPUT_MANIFEST}" diff --git a/vars/uploadTestResults.groovy b/vars/uploadTestResults.groovy index 281d2565e..bcf9f6f46 100644 --- a/vars/uploadTestResults.groovy +++ b/vars/uploadTestResults.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@2.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifestFileName))