From c63f35bce74d498260709db578265d21ba666190 Mon Sep 17 00:00:00 2001 From: opensearch-ci-bot Date: Tue, 8 Oct 2024 19:18:25 +0000 Subject: [PATCH] Increment jenkins library version Signed-off-by: opensearch-ci-bot --- .../jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt | 8 ++++---- .../jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt | 4 ++-- .../jenkins/jobs/AssembleManifest_tar_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/AssembleUpload_Jenkinsfile.txt | 6 +++--- .../jobs/BenchmarkTestMultinode_Jenkinsfile.txt | 8 ++++---- .../jobs/BenchmarkTestNoManifest_Jenkinsfile.txt | 4 ++-- .../jobs/BenchmarkTestWithEndpoint_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/BenchmarkTest_Jenkinsfile.txt | 8 ++++---- tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt | 4 ++-- tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt | 10 +++++----- .../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 +- ...ldDockerImage_Qualifier_Jenkinsfile_builds_both.txt | 2 +- .../jobs/BuildShManifestIncremental_Jenkinsfile.txt | 4 ++-- tests/jenkins/jobs/BuildShManifest_Jenkinsfile.txt | 6 +++--- .../jobs/BuildUploadManifestSHA_Jenkinsfile.txt | 6 +++--- tests/jenkins/jobs/BuildYumRepo_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/CompareTest_Jenkinsfile.txt | 4 ++-- tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt | 2 +- .../CreateUploadTestReportManifest_Jenkinsfile.txt | 6 +++--- tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt | 8 ++++---- .../jenkins/jobs/DetectTestDockerAgent_Jenkinsfile.txt | 2 +- .../jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt | 4 ++-- .../jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt | 4 ++-- tests/jenkins/jobs/PatchDockerImage_Jenkinsfile.txt | 4 ++-- tests/jenkins/jobs/PerfTest_Jenkinsfile.txt | 8 ++++---- .../jobs/PromoteArtifactsQualifier_Jenkinsfile.txt | 2 +- ...omoteArtifactsQualifier_Jenkinsfile_Windows.txt.txt | 2 +- ...actsQualifier_OpenSearch_Dashboards_Jenkinsfile.txt | 2 +- ...r_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt | 2 +- .../PromoteArtifactsQualifier_actions_Jenkinsfile.txt | 4 ++-- ...ifactsQualifier_actions_Jenkinsfile_Windows.txt.txt | 4 ++-- ...ifier_actions_OpenSearch_Dashboards_Jenkinsfile.txt | 4 ++-- ...s_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt | 4 ++-- tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile.txt | 2 +- .../jobs/PromoteArtifacts_Jenkinsfile_Windows.txt.txt | 2 +- ...moteArtifacts_OpenSearch_Dashboards_Jenkinsfile.txt | 2 +- ...s_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt | 2 +- .../jobs/PromoteArtifacts_actions_Jenkinsfile.txt | 4 ++-- ...romoteArtifacts_actions_Jenkinsfile_Windows.txt.txt | 4 ++-- ...facts_actions_OpenSearch_Dashboards_Jenkinsfile.txt | 4 ++-- ...s_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt | 4 ++-- tests/jenkins/jobs/PromoteRepos_Jenkinsfile.txt | 4 ++-- .../jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt | 4 ++-- .../jobs/PublishToMavenManifestYml_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/PublishToMaven_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/PublishToNuget_Jenkinsfile.txt | 2 +- .../jenkins/jobs/PublishToPyPiWithDir_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt | 2 +- .../jenkins/jobs/RetrievePreviousBuild_Jenkinsfile.txt | 4 ++-- .../jobs/RpmDashboardsDistValidation_Jenkinsfile.txt | 2 +- .../jobs/RpmOpenSearchDistValidation_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/RunBwcTestScript_Jenkinsfile.txt | 2 +- ...BwcTestScript_OpenSearch_Dashboards_Jenkinsfile.txt | 2 +- .../jobs/RunGradleCheckBwcAlign_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/RunGradleCheck_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt | 4 ++-- .../jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt | 2 +- ...estScript_LocalPath_Switch_Non_Root_Jenkinsfile.txt | 4 ++-- ...tegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt | 2 +- tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt | 2 +- .../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/buildManifest.groovy | 2 +- vars/buildUploadManifestSHA.groovy | 2 +- vars/buildYumRepo.groovy | 2 +- vars/createReleaseTag.groovy | 2 +- vars/createSignatureFiles.groovy | 2 +- vars/createUploadTestReportManifest.groovy | 2 +- vars/detectDockerAgent.groovy | 2 +- vars/detectTestDockerAgent.groovy | 2 +- vars/downloadBuildManifest.groovy | 2 +- vars/getManifestSHA.groovy | 2 +- vars/patchDockerImage.groovy | 2 +- vars/promoteArtifacts.groovy | 2 +- vars/promoteRepos.groovy | 2 +- vars/publishGradleCheckTestResults.groovy | 2 +- vars/publishToArtifactsProdBucket.groovy | 2 +- vars/publishToMaven.groovy | 2 +- vars/publishToNuget.groovy | 2 +- vars/publishToPyPi.groovy | 2 +- vars/retrievePreviousBuild.groovy | 2 +- vars/rpmDashboardsDistValidation.groovy | 2 +- vars/rpmDistValidation.groovy | 2 +- vars/rpmOpenSearchDistValidation.groovy | 2 +- vars/runBenchmarkTestScript.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 +- 100 files changed, 148 insertions(+), 148 deletions(-) diff --git a/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt b/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt index 11de599c8..0a2d1a47a 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@7.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@7.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@7.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@7.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 17f228d09..dbd69af28 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@7.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@7.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..8ae331ee7 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@7.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..a7d126b40 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@7.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@7.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@7.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/BenchmarkTestMultinode_Jenkinsfile.txt b/tests/jenkins/jobs/BenchmarkTestMultinode_Jenkinsfile.txt index d08bcdb82..6ec76a4f4 100644 --- a/tests/jenkins/jobs/BenchmarkTestMultinode_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BenchmarkTestMultinode_Jenkinsfile.txt @@ -5,7 +5,7 @@ BenchmarkTestMultinode_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTestMultinode_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@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -13,7 +13,7 @@ BuildManifest.asBoolean() BenchmarkTestMultinode_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, distributionUrl=, distributionVersion=, workload=nyc_taxis, insecure=false, singleNode=false, minDistribution=false, use50PercentHeap=true, enableRemoteStore=true, suffix=307-secure, managerNodeCount=3, dataNodeCount=3, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=, userTag=key1:value1,security-enabled:true, workloadParams={"key2":"value2"}, testProcedure=custom-test-procedure, excludeTasks=index-append,default, includeTasks=type:search,index, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=true, captureSegmentReplicationStat=false, telemetryParams={"telemetry_setting":"value"}}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) @@ -35,7 +35,7 @@ BenchmarkTestMultinode_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTestMultinode_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@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -43,7 +43,7 @@ BuildManifest.asBoolean() BenchmarkTestMultinode_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, distributionUrl=, distributionVersion=, workload=nyc_taxis, insecure=true, singleNode=false, minDistribution=false, use50PercentHeap=true, enableRemoteStore=true, suffix=307, managerNodeCount=3, dataNodeCount=3, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=, userTag=key1:value1,security-enabled:false, workloadParams={"key2":"value2"}, testProcedure=custom-test-procedure, excludeTasks=index-append,default, includeTasks=type:search,index, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=true, captureSegmentReplicationStat=false, telemetryParams={"telemetry_setting":"value"}}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/BenchmarkTestNoManifest_Jenkinsfile.txt b/tests/jenkins/jobs/BenchmarkTestNoManifest_Jenkinsfile.txt index 8b1535929..a9a8d6ada 100644 --- a/tests/jenkins/jobs/BenchmarkTestNoManifest_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BenchmarkTestNoManifest_Jenkinsfile.txt @@ -5,7 +5,7 @@ BenchmarkTestNoManifest_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTestNoManifest_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=, distributionUrl=https://www.example.com/example.tar.gz, distributionVersion=3.0.0, workload=nyc_taxis, insecure=false, singleNode=true, minDistribution=false, use50PercentHeap=true, enableRemoteStore=false, suffix=307-secure, managerNodeCount=, dataNodeCount=, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=r5.8xlarge, userTag=security-enabled:true, workloadParams=, testProcedure=custom-test-procedure, excludeTasks=, includeTasks=, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) runBenchmarkTestScript.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) runBenchmarkTestScript.withCredentials([AWS_ACCOUNT_PUBLIC, ARTIFACT_BUCKET_NAME], groovy.lang.Closure) @@ -22,7 +22,7 @@ BenchmarkTestNoManifest_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTestNoManifest_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=, distributionUrl=https://www.example.com/example.tar.gz, distributionVersion=3.0.0, workload=nyc_taxis, insecure=true, singleNode=true, minDistribution=false, use50PercentHeap=true, enableRemoteStore=false, suffix=307, managerNodeCount=, dataNodeCount=, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=r5.8xlarge, userTag=security-enabled:false, workloadParams=, testProcedure=custom-test-procedure, excludeTasks=, includeTasks=, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) runBenchmarkTestScript.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) runBenchmarkTestScript.withCredentials([AWS_ACCOUNT_PUBLIC, ARTIFACT_BUCKET_NAME], groovy.lang.Closure) diff --git a/tests/jenkins/jobs/BenchmarkTestWithEndpoint_Jenkinsfile.txt b/tests/jenkins/jobs/BenchmarkTestWithEndpoint_Jenkinsfile.txt index 0afc94c61..3edba4f2a 100644 --- a/tests/jenkins/jobs/BenchmarkTestWithEndpoint_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BenchmarkTestWithEndpoint_Jenkinsfile.txt @@ -5,7 +5,7 @@ BenchmarkTestWithEndpoint_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTestWithEndpoint_Jenkinsfile.runBenchmarkTestScript({command=execute-test, endpoint=opensearch-ABCxdfdfhyfk.com, insecure=false, workload=nyc_taxis, userTag=true,security-enabled:true, workloadParams=, testProcedure=, excludeTasks=, includeTasks=, additionalConfig=, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) runBenchmarkTestScript.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) runBenchmarkTestScript.withCredentials([AWS_ACCOUNT_PUBLIC, ARTIFACT_BUCKET_NAME], groovy.lang.Closure) diff --git a/tests/jenkins/jobs/BenchmarkTest_Jenkinsfile.txt b/tests/jenkins/jobs/BenchmarkTest_Jenkinsfile.txt index 2574987aa..c002e0594 100644 --- a/tests/jenkins/jobs/BenchmarkTest_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BenchmarkTest_Jenkinsfile.txt @@ -5,7 +5,7 @@ BenchmarkTest_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTest_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@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -13,7 +13,7 @@ BuildManifest.asBoolean() BenchmarkTest_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, distributionUrl=, distributionVersion=, workload=nyc_taxis, insecure=false, singleNode=true, minDistribution=false, use50PercentHeap=true, enableRemoteStore=false, suffix=307-secure, managerNodeCount=, dataNodeCount=, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=r5.8xlarge, userTag=security-enabled:true, workloadParams={"key2":"value2"}, testProcedure=, excludeTasks=, includeTasks=, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) @@ -35,7 +35,7 @@ BenchmarkTest_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTest_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@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -43,7 +43,7 @@ BuildManifest.asBoolean() BenchmarkTest_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, distributionUrl=, distributionVersion=, workload=nyc_taxis, insecure=true, singleNode=true, minDistribution=false, use50PercentHeap=true, enableRemoteStore=false, suffix=307, managerNodeCount=, dataNodeCount=, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=r5.8xlarge, userTag=security-enabled:false, workloadParams={"key2":"value2"}, testProcedure=, excludeTasks=, includeTasks=, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt b/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt index eff79425c..a3948695d 100644 --- a/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt @@ -5,10 +5,10 @@ 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@7.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.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@main, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-1.3.0.yml -d tar -p linux -a x64) diff --git a/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt b/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt index 7185796aa..f30cea43f 100644 --- a/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt @@ -5,12 +5,12 @@ 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@7.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}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@main, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-1.3.0.yml -d tar -p linux -a x64) @@ -18,17 +18,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@7.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@7.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@7.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 b5478400f..01f74b17a 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@7.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Triggering docker-build) diff --git a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_arm64.txt b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_arm64.txt index 06f3c6683..2d6b272ce 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@7.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..2472dbafd 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@7.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..54fdbaaa4 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@7.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 75d8d709d..8ec9fcdb3 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@7.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-2.0.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Triggering docker-build) diff --git a/tests/jenkins/jobs/BuildShManifestIncremental_Jenkinsfile.txt b/tests/jenkins/jobs/BuildShManifestIncremental_Jenkinsfile.txt index 6c8ac44b8..8b10bc4e3 100644 --- a/tests/jenkins/jobs/BuildShManifestIncremental_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BuildShManifestIncremental_Jenkinsfile.txt @@ -5,7 +5,7 @@ BuildShManifestIncremental_Jenkinsfile.script(groovy.lang.Closure) BuildShManifestIncremental_Jenkinsfile.buildManifest({inputManifest=tests/data/opensearch-input-2.12.0.yml, distribution=tar, platform=linux, architecture=x64, incremental=true, previousBuildId=latest}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@main, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-input-2.12.0.yml}) InputManifest.asBoolean() buildManifest.sh({script=curl -sL dummy-url/dummy-build-job/2.12.0/index/linux/x64/tar/index.json | jq -r ".latest" > /dev/null 2>&1, returnStatus=true}) @@ -16,7 +16,7 @@ buildManifest.retrievePreviousBuild({inputManifest=tests/data/opensearch-input-2.12.0.yml, distribution=tar, platform=linux, architecture=x64, incremental=true, previousBuildId=latest, distributionBuildNumber=bbb ccc}) retrievePreviousBuild.legacySCM(groovy.lang.Closure) - retrievePreviousBuild.library({identifier=jenkins@main, retriever=null}) + retrievePreviousBuild.library({identifier=jenkins@7.0.0, retriever=null}) retrievePreviousBuild.readYaml({file=tests/data/opensearch-input-2.12.0.yml}) InputManifest.asBoolean() retrievePreviousBuild.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) diff --git a/tests/jenkins/jobs/BuildShManifest_Jenkinsfile.txt b/tests/jenkins/jobs/BuildShManifest_Jenkinsfile.txt index 685e72cf9..e9920eac6 100644 --- a/tests/jenkins/jobs/BuildShManifest_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BuildShManifest_Jenkinsfile.txt @@ -5,19 +5,19 @@ BuildShManifest_Jenkinsfile.script(groovy.lang.Closure) BuildShManifest_Jenkinsfile.buildManifest({inputManifest=tests/data/opensearch-2.0.0.yml, distribution=tar, snapshot=true, continueOnError=true}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@main, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-2.0.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-2.0.0.yml -d tar --snapshot --continue-on-error) BuildShManifest_Jenkinsfile.buildManifest({componentName=job-scheduler, inputManifest=tests/data/opensearch-2.0.0.yml, distribution=tar, snapshot=true}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@main, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-2.0.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-2.0.0.yml -d tar --component job-scheduler --snapshot) BuildShManifest_Jenkinsfile.buildManifest({componentName=common-utils, inputManifest=tests/data/opensearch-2.0.0.yml, distribution=rpm, lock=true, snapshot=true}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@main, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-2.0.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-2.0.0.yml -d rpm --component common-utils --snapshot --lock) diff --git a/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt b/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt index 04c28fa53..64cf8b24f 100644 --- a/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt @@ -5,18 +5,18 @@ 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@7.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.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@main, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() 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@7.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..5fed8e0d5 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@7.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/CompareTest_Jenkinsfile.txt b/tests/jenkins/jobs/CompareTest_Jenkinsfile.txt index 2d3d0a5c2..4de47b593 100644 --- a/tests/jenkins/jobs/CompareTest_Jenkinsfile.txt +++ b/tests/jenkins/jobs/CompareTest_Jenkinsfile.txt @@ -5,7 +5,7 @@ CompareTest_Jenkinsfile.script(groovy.lang.Closure) CompareTest_Jenkinsfile.runBenchmarkTestScript({command=compare, baseline=12345, contender=54321, results_format=csv, results_numbers_align=left, results_file=/results/final_results, show_in_results=true, suffix=compare-tester, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) @@ -23,7 +23,7 @@ CompareTest_Jenkinsfile.script(groovy.lang.Closure) CompareTest_Jenkinsfile.runBenchmarkTestScript({command=compare, baseline=12345, contender=54321, suffix=compare-tester, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt b/tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt index e815654fc..1b8972021 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@7.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/CreateUploadTestReportManifest_Jenkinsfile.txt b/tests/jenkins/jobs/CreateUploadTestReportManifest_Jenkinsfile.txt index 4dba09d35..c277d0f84 100644 --- a/tests/jenkins/jobs/CreateUploadTestReportManifest_Jenkinsfile.txt +++ b/tests/jenkins/jobs/CreateUploadTestReportManifest_Jenkinsfile.txt @@ -5,7 +5,7 @@ CreateUploadTestReportManifest_Jenkinsfile.script(groovy.lang.Closure) CreateUploadTestReportManifest_Jenkinsfile.createUploadTestReportManifest({testManifest=tests/data/opensearch-1.3.0-test.yml, buildManifest=tests/data/opensearch-1.3.0-build.yml, testRunID=1234, testType=integ-test}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@main, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@7.0.0, retriever=null}) createUploadTestReportManifest.readYaml({file=tests/data/opensearch-1.3.0-test.yml}) TestManifest.asBoolean() createUploadTestReportManifest.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) @@ -29,7 +29,7 @@ createUploadTestReportManifest.s3Upload({file=/tmp/workspace/test-report.yml, bucket=ARTIFACT_BUCKET_NAME, path=dummy_integ_test/1.3.0/29/linux/x64/tar/test-results/1234/integ-test/test-report.yml}) CreateUploadTestReportManifest_Jenkinsfile.createUploadTestReportManifest({testManifest=tests/data/opensearch-dashboards-1.3.0-test.yml, buildManifest=tests/data/opensearch-1.3.0-build.yml, dashboardsBuildManifest=tests/data/opensearch-dashboards-build-1.3.0.yml, testRunID=1234, testType=integ-test}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@main, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@7.0.0, retriever=null}) createUploadTestReportManifest.readYaml({file=tests/data/opensearch-dashboards-1.3.0-test.yml}) TestManifest.asBoolean() createUploadTestReportManifest.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) @@ -56,7 +56,7 @@ createUploadTestReportManifest.s3Upload({file=/tmp/workspace/test-report.yml, bucket=ARTIFACT_BUCKET_NAME, path=dummy_integ_test/1.3.0/25b38c278cdd45efa583765d8ba76346/linux/x64/tar/test-results/1234/integ-test/test-report.yml}) CreateUploadTestReportManifest_Jenkinsfile.createUploadTestReportManifest({testManifest=tests/data/opensearch-dashboards-1.3.0-test.yml, buildManifest=tests/data/opensearch-1.3.0-build.yml, dashboardsBuildManifest=tests/data/opensearch-dashboards-build-1.3.0.yml, testRunID=1234, testType=integ-test, rcNumber=100}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@main, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@7.0.0, retriever=null}) createUploadTestReportManifest.readYaml({file=tests/data/opensearch-dashboards-1.3.0-test.yml}) TestManifest.asBoolean() createUploadTestReportManifest.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) diff --git a/tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt b/tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt index 0377253a4..88c86e0d1 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@7.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@7.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@7.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@7.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 83179224f..d9ff9a7b6 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@7.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 (-e JAVA_HOME=/opt/java/openjdk-11)) diff --git a/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt b/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt index d6ce6bbd6..b19962268 100644 --- a/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt +++ b/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt @@ -6,14 +6,14 @@ GetManifestSHA_Jenkinsfile.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.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@main, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() 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@7.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 749c9eb26..de2563af6 100644 --- a/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt +++ b/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt @@ -6,14 +6,14 @@ GetManifestSHA_Jenkinsfile.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.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@main, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() 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@7.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/PatchDockerImage_Jenkinsfile.txt b/tests/jenkins/jobs/PatchDockerImage_Jenkinsfile.txt index 9ff9e6fcb..b215c7566 100644 --- a/tests/jenkins/jobs/PatchDockerImage_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PatchDockerImage_Jenkinsfile.txt @@ -5,7 +5,7 @@ PatchDockerImage_Jenkinsfile.script(groovy.lang.Closure) PatchDockerImage_Jenkinsfile.patchDockerImage({product=opensearch, tag=1}) patchDockerImage.legacySCM(groovy.lang.Closure) - patchDockerImage.library({identifier=jenkins@main, retriever=null}) + patchDockerImage.library({identifier=jenkins@7.0.0, retriever=null}) patchDockerImage.sh(#!/bin/bash set -e set +x @@ -20,7 +20,7 @@ InputManifest.asBoolean() patchDockerImage.buildDockerImage({inputManifest=manifests/1.3.0/opensearch-1.3.0.yml, buildNumber=7756, buildGitRef=1.3.0, buildDate=20230619, buildOption=re_release_docker_image, artifactUrlX64=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.0/7756/linux/x64/tar/dist/opensearch/opensearch-1.3.0-linux-x64.tar.gz, artifactUrlArm64=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.0/7756/linux/arm64/tar/dist/opensearch/opensearch-1.3.0-linux-arm64.tar.gz}) buildDockerImage.legacySCM(groovy.lang.Closure) - buildDockerImage.library({identifier=jenkins@main, retriever=null}) + buildDockerImage.library({identifier=jenkins@7.0.0, retriever=null}) buildDockerImage.readYaml({file=manifests/1.3.0/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Triggering docker-build) diff --git a/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt b/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt index 142d5468a..ffda0d673 100644 --- a/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt @@ -5,7 +5,7 @@ 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@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -13,7 +13,7 @@ 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@7.0.0, retriever=null}) runPerfTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runPerfTestScript.sh( @@ -33,7 +33,7 @@ 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@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -41,7 +41,7 @@ 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@7.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..2cfc3e533 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@7.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..f2af054cd 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@7.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..7bd3abee5 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@7.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..8c0729a85 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@7.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 6daed67cc..4d61f8812 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@7.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@7.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 019016f90..61761bd56 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@7.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@7.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 65cdc733f..1cbe6e4dd 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@7.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@7.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 d7dbd1202..f0379cacc 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@7.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@7.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..4538fbfde 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@7.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..bc6668693 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@7.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..c998eadf8 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@7.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..fc878f0b6 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@7.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 fb4cdab4e..4b15ad8bf 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@7.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@7.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 95d317974..0eea64d38 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@7.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@7.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 dc5ae0010..159842fba 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@7.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@7.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 9a71e334f..ca1442b60 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@7.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@7.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/PromoteRepos_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteRepos_Jenkinsfile.txt index d68a0c7c2..0c9868f1e 100644 --- a/tests/jenkins/jobs/PromoteRepos_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PromoteRepos_Jenkinsfile.txt @@ -5,7 +5,7 @@ PromoteRepos_Jenkinsfile.script(groovy.lang.Closure) PromoteRepos_Jenkinsfile.promoteRepos({jobName=opensearch, buildNumber=123, distributionRepoType=yum, manifest=tests/data/opensearch-1.3.0.yml}) promoteRepos.legacySCM(groovy.lang.Closure) - promoteRepos.library({identifier=jenkins@main, retriever=null}) + promoteRepos.library({identifier=jenkins@7.0.0, retriever=null}) promoteRepos.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteRepos.string({credentialsId=jenkins-artifact-promotion-role, variable=ARTIFACT_PROMOTION_ROLE_NAME}) @@ -86,7 +86,7 @@ PromoteRepos_Jenkinsfile.script(groovy.lang.Closure) PromoteRepos_Jenkinsfile.promoteRepos({jobName=opensearch, buildNumber=123, distributionRepoType=apt, manifest=tests/data/opensearch-1.3.0.yml}) promoteRepos.legacySCM(groovy.lang.Closure) - promoteRepos.library({identifier=jenkins@main, retriever=null}) + promoteRepos.library({identifier=jenkins@7.0.0, retriever=null}) promoteRepos.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteRepos.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 a47994c45..2961f78dd 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, sigOverwrite=true}) publishToArtifactsProdBucket.legacySCM(groovy.lang.Closure) - publishToArtifactsProdBucket.library({identifier=jenkins@main, retriever=null}) + publishToArtifactsProdBucket.library({identifier=jenkins@7.0.0, retriever=null}) publishToArtifactsProdBucket.signArtifacts({artifactPath=the-windows-msi.msi, platform=windows, overwrite=true}) signArtifacts.fileExists(/tmp/workspace/sign.sh) signArtifacts.dir(opensearch-build, groovy.lang.Closure) @@ -36,7 +36,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@7.0.0, retriever=null}) publishToArtifactsProdBucket.signArtifacts({artifactPath=reporting-cli-2.3.0.tg.gz, platform=linux, sigtype=.sig, overwrite=false}) signArtifacts.fileExists(/tmp/workspace/sign.sh) signArtifacts.dir(opensearch-build, groovy.lang.Closure) diff --git a/tests/jenkins/jobs/PublishToMavenManifestYml_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToMavenManifestYml_Jenkinsfile.txt index b8553df21..17fb206cf 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@7.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 191dad116..80844893e 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@7.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 b406b0375..03bfc256b 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@7.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 7d6dbdf96..bb6cd0fdc 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@7.0.0, retriever=null}) publishToPyPi.signArtifacts({artifactPath=/tmp/workspace/test, sigtype=.asc, platform=linux}) signArtifacts.fileExists(/tmp/workspace/sign.sh) signArtifacts.sh(curl -sSL https://artifacts.opensearch.org/publickeys/opensearch.pgp | gpg --import -) diff --git a/tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt index a649214c3..cc799d3d0 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@7.0.0, retriever=null}) publishToPyPi.signArtifacts({artifactPath=/tmp/workspace/dist, sigtype=.asc, platform=linux}) signArtifacts.fileExists(/tmp/workspace/sign.sh) signArtifacts.sh(curl -sSL https://artifacts.opensearch.org/publickeys/opensearch.pgp | gpg --import -) diff --git a/tests/jenkins/jobs/RetrievePreviousBuild_Jenkinsfile.txt b/tests/jenkins/jobs/RetrievePreviousBuild_Jenkinsfile.txt index 0c06d4b4f..23087d066 100644 --- a/tests/jenkins/jobs/RetrievePreviousBuild_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RetrievePreviousBuild_Jenkinsfile.txt @@ -5,7 +5,7 @@ RetrievePreviousBuild_Jenkinsfile.script(groovy.lang.Closure) RetrievePreviousBuild_Jenkinsfile.retrievePreviousBuild({inputManifest=tests/data/opensearch-input-2.12.0.yml, distribution=tar, architecture=x64, platform=linux, distributionBuildNumber=123}) retrievePreviousBuild.legacySCM(groovy.lang.Closure) - retrievePreviousBuild.library({identifier=jenkins@main, retriever=null}) + retrievePreviousBuild.library({identifier=jenkins@7.0.0, retriever=null}) retrievePreviousBuild.readYaml({file=tests/data/opensearch-input-2.12.0.yml}) InputManifest.asBoolean() retrievePreviousBuild.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) @@ -20,7 +20,7 @@ retrievePreviousBuild.sh(mkdir -p ~/.m2/repository/org/ && cp -r tar/builds/opensearch/maven/org/opensearch/ ~/.m2/repository/org/) RetrievePreviousBuild_Jenkinsfile.retrievePreviousBuild({inputManifest=tests/data/opensearch-dashboards-input-2.12.0.yml, distribution=zip, architecture=x64, platform=windows, distributionBuildNumber=1234}) retrievePreviousBuild.legacySCM(groovy.lang.Closure) - retrievePreviousBuild.library({identifier=jenkins@main, retriever=null}) + retrievePreviousBuild.library({identifier=jenkins@7.0.0, retriever=null}) retrievePreviousBuild.readYaml({file=tests/data/opensearch-dashboards-input-2.12.0.yml}) InputManifest.asBoolean() retrievePreviousBuild.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) diff --git a/tests/jenkins/jobs/RpmDashboardsDistValidation_Jenkinsfile.txt b/tests/jenkins/jobs/RpmDashboardsDistValidation_Jenkinsfile.txt index 99b632109..34551a59c 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@7.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 724f84682..3d91e8d83 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@7.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..f8bd1ba22 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@7.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..5a3dcc396 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@7.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/RunGradleCheckBwcAlign_Jenkinsfile.txt b/tests/jenkins/jobs/RunGradleCheckBwcAlign_Jenkinsfile.txt index 664d06b97..6196f9cf9 100644 --- a/tests/jenkins/jobs/RunGradleCheckBwcAlign_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunGradleCheckBwcAlign_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunGradleCheckBwcAlign_Jenkinsfile.script(groovy.lang.Closure) RunGradleCheckBwcAlign_Jenkinsfile.runGradleCheck({gitRepoUrl=https://github.com/opensearch-project/OpenSearch, gitReference=main, bwcCheckoutAlign=true}) runGradleCheck.legacySCM(groovy.lang.Closure) - runGradleCheck.library({identifier=jenkins@main, retriever=null}) + runGradleCheck.library({identifier=jenkins@7.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/RunGradleCheck_Jenkinsfile.txt b/tests/jenkins/jobs/RunGradleCheck_Jenkinsfile.txt index f4aaae1f0..e36b8901f 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, bwcCheckoutAlign=false}) runGradleCheck.legacySCM(groovy.lang.Closure) - runGradleCheck.library({identifier=jenkins@main, retriever=null}) + runGradleCheck.library({identifier=jenkins@7.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 729a87305..f81790912 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@7.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -14,7 +14,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.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@7.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 (-e JAVA_HOME=/opt/java/openjdk-11)) diff --git a/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt index 972fa002c..cc0970c19 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-Dashboards, buildManifest=tests/data/opensearch-dashboards-1.2.0-build.yml, testManifest=tests/data/opensearch-dashboards-1.2.0-test.yml, localPath=tests/jenkins/artifacts/tar}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-dashboards-1.2.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() diff --git a/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.txt index 649a74c4d..634b3fe26 100644 --- a/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScript_LocalPath_Switch_Non_Root_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, switchUserNonRoot=true}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -14,7 +14,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.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@7.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 (-e JAVA_HOME=/opt/java/openjdk-11)) diff --git a/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt index 3c28a6f1f..08013cb6c 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@7.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-dashboards-1.2.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() diff --git a/tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt b/tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt index 8669624b2..eae869a8a 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@7.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 29) diff --git a/tests/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile.txt b/tests/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile.txt index b0e445312..303b25e91 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.yml, distribution=tar}) uploadMinSnapshotsToS3.legacySCM(groovy.lang.Closure) - uploadMinSnapshotsToS3.library({identifier=jenkins@main, retriever=null}) + uploadMinSnapshotsToS3.library({identifier=jenkins@7.0.0, retriever=null}) uploadMinSnapshotsToS3.readYaml({file=tests/data/opensearch-1.3.0.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..b7c8391ab 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@7.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..97a650b64 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@7.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..7adce38ae 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@7.0.0', retriever: legacySCM(scm)) assembleManifest(args) uploadArtifacts(args) diff --git a/vars/buildArchive.groovy b/vars/buildArchive.groovy index 3eba4aded..c389ccde8 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@7.0.0', retriever: legacySCM(scm)) buildManifest(args) String stashName = "${args.stashName}" diff --git a/vars/buildAssembleUpload.groovy b/vars/buildAssembleUpload.groovy index 1019ae501..76a3dcd0c 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@7.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 0cacd0d3e..abe1527c2 100644 --- a/vars/buildDockerImage.groovy +++ b/vars/buildDockerImage.groovy @@ -18,7 +18,7 @@ Library to build Docker Image with different Build Options @param Map[buildDate] - Date on which the artifacts were built. */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def inputManifest = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) def build_version = inputManifest.build.version def build_qualifier = inputManifest.build.qualifier diff --git a/vars/buildManifest.groovy b/vars/buildManifest.groovy index 2e5167f15..f87c0da65 100644 --- a/vars/buildManifest.groovy +++ b/vars/buildManifest.groovy @@ -21,7 +21,7 @@ void call(Map args = [:]) { boolean incremental_enabled = args.incremental != null && args.incremental - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) def DISTRIBUTION_JOB_NAME = args.jobName ?: "${JOB_NAME}" diff --git a/vars/buildUploadManifestSHA.groovy b/vars/buildUploadManifestSHA.groovy index 2b1ddee11..7b90847f0 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@7.0.0', retriever: legacySCM(scm)) def sha = getManifestSHA(args) diff --git a/vars/buildYumRepo.groovy b/vars/buildYumRepo.groovy index bb6ced915..73f0785b9 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@7.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..e8fe6223f 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@7.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..c20b99e7d 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@7.0.0', retriever: legacySCM(scm)) return { args -> signArtifacts(args) } diff --git a/vars/createUploadTestReportManifest.groovy b/vars/createUploadTestReportManifest.groovy index c32fcb58d..77631e1cb 100644 --- a/vars/createUploadTestReportManifest.groovy +++ b/vars/createUploadTestReportManifest.groovy @@ -19,7 +19,7 @@ */ def call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) if (!parameterCheck(args.testManifest, args.buildManifest, args.testRunID, args.testType)) return null diff --git a/vars/detectDockerAgent.groovy b/vars/detectDockerAgent.groovy index cfa74aac6..122aaeff8 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@7.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 ec07f9ad1..4ac07ff48 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@7.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 19b58d34b..a9aab019a 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@7.0.0", retriever: legacySCM(scm)) sh "mkdir -p \$(dirname \"${args.path}\")" sh "touch ${args.path}" sh "curl -sSL --retry 5 ${args.url} --output ${args.path}" diff --git a/vars/getManifestSHA.groovy b/vars/getManifestSHA.groovy index 76ede00df..30e7a36a2 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@7.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/patchDockerImage.groovy b/vars/patchDockerImage.groovy index e708346e6..4bcb193f2 100644 --- a/vars/patchDockerImage.groovy +++ b/vars/patchDockerImage.groovy @@ -13,7 +13,7 @@ Library to support Docker Image Re-Release Automation @param Map[tag] - Tag of the product that needs to be re-released. */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) String docker_image = "opensearchproject/${args.product}:${args.tag}" String latest_docker_image = "opensearchproject/${args.product}:latest" boolean tag_latest = false diff --git a/vars/promoteArtifacts.groovy b/vars/promoteArtifacts.groovy index db7fca4b3..c98d198cb 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@7.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/promoteRepos.groovy b/vars/promoteRepos.groovy index d6df14bea..c7f09a3ab 100644 --- a/vars/promoteRepos.groovy +++ b/vars/promoteRepos.groovy @@ -17,7 +17,7 @@ */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.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/publishGradleCheckTestResults.groovy b/vars/publishGradleCheckTestResults.groovy index 8e023133b..3a71c4e32 100644 --- a/vars/publishGradleCheckTestResults.groovy +++ b/vars/publishGradleCheckTestResults.groovy @@ -20,7 +20,7 @@ import java.text.SimpleDateFormat import java.util.Date void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def finalJsonDoc = "" def buildNumber = currentBuild.number def buildDescription = currentBuild.description diff --git a/vars/publishToArtifactsProdBucket.groovy b/vars/publishToArtifactsProdBucket.groovy index 757c1ec52..27f47db23 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@7.0.0', retriever: legacySCM(scm)) println('Signing the artifacts') if (args.signingPlatform == 'windows' || args.signingPlatform == 'mac' || args.signingPlatform == 'jar_signer') { signArtifacts( diff --git a/vars/publishToMaven.groovy b/vars/publishToMaven.groovy index 5c5d5c644..5894f7992 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@7.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 1427abfd6..af70253c0 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@7.0.0', retriever: legacySCM(scm)) checkout([$class: 'GitSCM', branches: [[name: "${args.tag}" ]], userRemoteConfigs: [[url: "${args.repository}" ]]]) sh """ diff --git a/vars/publishToPyPi.groovy b/vars/publishToPyPi.groovy index 3ac164900..463ef0af6 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@7.0.0', retriever: legacySCM(scm)) String releaseArtifactsDir = args.artifactsPath ? "${WORKSPACE}/${args.artifactsPath}" : "${WORKSPACE}/dist" signArtifacts( diff --git a/vars/retrievePreviousBuild.groovy b/vars/retrievePreviousBuild.groovy index 61402480a..1a6a7f03e 100644 --- a/vars/retrievePreviousBuild.groovy +++ b/vars/retrievePreviousBuild.groovy @@ -16,7 +16,7 @@ @param args.previousBuildId - Build id of previous build for incremental build. Defaults to latest. */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) def DISTRIBUTION_JOB_NAME = args.jobName ?: "${JOB_NAME}" diff --git a/vars/rpmDashboardsDistValidation.groovy b/vars/rpmDashboardsDistValidation.groovy index 73c8f7de5..3fd933650 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@7.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..7c3cc0b61 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@7.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 6d132d416..36db923d4 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@7.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/runBenchmarkTestScript.groovy b/vars/runBenchmarkTestScript.groovy index 7b3b6d3a3..2f011a55d 100644 --- a/vars/runBenchmarkTestScript.groovy +++ b/vars/runBenchmarkTestScript.groovy @@ -48,7 +48,7 @@ */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def buildManifest = null if (!isNullOrEmpty(args.bundleManifest as String)){ diff --git a/vars/runBwcTestScript.groovy b/vars/runBwcTestScript.groovy index c8d958d96..171fa15b7 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@7.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 96f69d123..47eef71bd 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@7.0.0', retriever: legacySCM(scm)) def git_repo_url = args.gitRepoUrl ?: 'null' def git_reference = args.gitReference ?: 'null' def bwc_checkout_align = args.bwcCheckoutAlign ?: 'false' diff --git a/vars/runIntegTestScript.groovy b/vars/runIntegTestScript.groovy index 068ad544a..b782ef43c 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@7.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..7c1fd948a 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@7.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..357fb7bb8 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@7.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 e185a02b4..3d0c2a95f 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@7.0.0', retriever: legacySCM(scm)) List fileActions = args.fileActions ?: [] String manifest = args.manifest ?: "manifests/${INPUT_MANIFEST}" String distribution_arg = args.distribution ?: 'None' diff --git a/vars/uploadTestResults.groovy b/vars/uploadTestResults.groovy index 281d2565e..c244c000a 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@7.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifestFileName))