diff --git a/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt b/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt index 11de599c..9e0243d0 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@8.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@8.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@8.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@8.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 17f228d0..7de82643 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@8.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@8.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 f7704846..ef02f8cd 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@8.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 00cc4340..efe66a6a 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@8.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@8.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@8.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 b951cbbb..f27db242 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@8.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, enableInstanceStorage=false, 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@8.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@8.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, enableInstanceStorage=false, 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@8.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 ac0503c6..894ce94c 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, enableInstanceStorage=true, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@8.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, enableInstanceStorage=true, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@8.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 0afc94c6..af918529 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@8.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 69a99c3a..aa25d326 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@8.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, enableInstanceStorage=false, mlStorageSize=200, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@8.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@8.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, enableInstanceStorage=false, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@main, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@8.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 eff79425..9c3e38c7 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@8.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@8.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 7185796a..0c93dc8e 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@8.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@8.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@8.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@8.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@8.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 b5478400..ee4cc0bb 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@8.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 06f3c668..bb3edc6c 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@8.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 22f1b936..88287196 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@8.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 875baa48..6bbff2d7 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@8.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 75d8d709..efd2fc73 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@8.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 5c6d27dc..025914c7 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@8.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@8.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 685e72cf..bd2fd117 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@8.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@8.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@8.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 04c28fa5..62142a21 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@8.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@8.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@8.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 d938a1a8..36f0c45e 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@8.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 2d3d0a5c..240148ea 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@8.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@8.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 e815654f..6d15e5fe 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@8.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 4dba09d3..af4916dd 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@8.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@8.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@8.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 0377253a..84b2b637 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@8.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@8.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@8.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@8.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 83179224..1f268934 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@8.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 d6ce6bbd..f66db1f0 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@8.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@8.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 749c9eb2..05ab4f80 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@8.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@8.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 9ff9e6fc..a1dd1bba 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@8.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@8.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 142d5468..1cb4be39 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@8.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@8.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@8.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@8.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/ProcessAndRunOsdIntegTestCiGroup_Jenkinsfile.txt b/tests/jenkins/jobs/ProcessAndRunOsdIntegTestCiGroup_Jenkinsfile.txt index a6bb3991..e5dbf390 100644 --- a/tests/jenkins/jobs/ProcessAndRunOsdIntegTestCiGroup_Jenkinsfile.txt +++ b/tests/jenkins/jobs/ProcessAndRunOsdIntegTestCiGroup_Jenkinsfile.txt @@ -5,13 +5,13 @@ ProcessAndRunOsdIntegTestCiGroup_Jenkinsfile.script(groovy.lang.Closure) ProcessAndRunOsdIntegTestCiGroup_Jenkinsfile.processAndRunOsdIntegTest({localComponent=OpenSearch-Dashboards, ciGroup=1, switchUserNonRoot=false}) processAndRunOsdIntegTest.legacySCM(groovy.lang.Closure) - processAndRunOsdIntegTest.library({identifier=jenkins@main, retriever=null}) + processAndRunOsdIntegTest.library({identifier=jenkins@8.0.0, retriever=null}) processAndRunOsdIntegTest.unstash(integtest-opensearch-dashboards-307) processAndRunOsdIntegTest.echo(Not on Windows, unstash repository+artifacts) processAndRunOsdIntegTest.sh(rm -rf test-results) processAndRunOsdIntegTest.runIntegTestScript({jobName=dummy-integ-test, componentName=OpenSearch-Dashboards, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml, localPath=/home/user/x64, switchUserNonRoot=false, ciGroup=1}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -20,7 +20,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@8.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/ProcessAndRunOsdIntegTest_Jenkinsfile.txt b/tests/jenkins/jobs/ProcessAndRunOsdIntegTest_Jenkinsfile.txt index e3e7993a..de49b93c 100644 --- a/tests/jenkins/jobs/ProcessAndRunOsdIntegTest_Jenkinsfile.txt +++ b/tests/jenkins/jobs/ProcessAndRunOsdIntegTest_Jenkinsfile.txt @@ -5,13 +5,13 @@ ProcessAndRunOsdIntegTest_Jenkinsfile.script(groovy.lang.Closure) ProcessAndRunOsdIntegTest_Jenkinsfile.processAndRunOsdIntegTest({localComponent=OpenSearch, ciGroup=, switchUserNonRoot=false}) processAndRunOsdIntegTest.legacySCM(groovy.lang.Closure) - processAndRunOsdIntegTest.library({identifier=jenkins@main, retriever=null}) + processAndRunOsdIntegTest.library({identifier=jenkins@8.0.0, retriever=null}) processAndRunOsdIntegTest.unstash(integtest-opensearch-dashboards-307) processAndRunOsdIntegTest.echo(Not on Windows, unstash repository+artifacts) processAndRunOsdIntegTest.sh(rm -rf test-results) processAndRunOsdIntegTest.runIntegTestScript({jobName=dummy-integ-test, componentName=OpenSearch, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml, localPath=/home/user/x64, switchUserNonRoot=false, ciGroup=}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -20,7 +20,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@8.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/PromoteArtifactsQualifier_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile.txt index c22f8471..24b57ca5 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@8.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 eb5d30a5..9389a534 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@8.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 45d1cf99..82a6f327 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@8.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 fa99932f..5e1e0bd8 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@8.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 6daed67c..e1adfdfd 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@8.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@8.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 019016f9..f3767f23 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@8.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@8.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 65cdc733..5a21ff71 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@8.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@8.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 d7dbd120..89c23b6c 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@8.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@8.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 bbe1b7a0..82f1ed3d 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@8.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 3ae0c9cc..26ce05c7 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@8.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 6de925c3..14fbd820 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@8.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 21d9a725..57b219f7 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@8.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 fb4cdab4..d24a4c45 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@8.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@8.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 95d31797..f71607cc 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@8.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@8.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 dc5ae001..d749487b 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@8.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@8.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 9a71e334..63a3f1f7 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@8.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@8.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 d68a0c7c..e9583199 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@8.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@8.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 a47994c4..6207a840 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@8.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@8.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 b8553df2..dd82caf6 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@8.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 191dad11..778fea36 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@8.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 b406b037..3b88bf75 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@8.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 7d6dbdf9..ac3ec54a 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@8.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 a649214c..ea0dc8f9 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@8.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 2e27d9e5..78426a21 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@8.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 $HOME/.m2/repository/org/ && cp -r tar/builds/opensearch/maven/org/opensearch/ $HOME/.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@8.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 99b63210..3778fae6 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@8.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 724f8468..d64b5d0a 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@8.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 48233822..f7b76a4e 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@8.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 16fb38ad..efbe7113 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@8.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 664d06b9..7c1b8304 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@8.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 f4aaae1f..c90c9882 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@8.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/RunIntegTestScriptForOSDCiGroup_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScriptForOSDCiGroup_Jenkinsfile.txt index f1bcc707..9258cfc2 100644 --- a/tests/jenkins/jobs/RunIntegTestScriptForOSDCiGroup_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScriptForOSDCiGroup_Jenkinsfile.txt @@ -5,13 +5,13 @@ RunIntegTestScriptForOSDCiGroup_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScriptForOSDCiGroup_Jenkinsfile.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, ciGroup=1, switchUserNonRoot=false, artifactPathOpenSearch=dummy/path/opensearch, artifactBucketName=test-bucket, artifactPath=dummy/artifact/path, distribution=x64, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml}) runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) - runIntegTestScriptForOSD.library({identifier=jenkins@main, retriever=null}) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-307) runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) runIntegTestScriptForOSD.sh(rm -rf test-results) runIntegTestScriptForOSD.runIntegTestScript({jobName=dummy-integ-test, componentName=OpenSearch-Dashboards, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml, localPath=/home/user/x64, switchUserNonRoot=false, ciGroup=1}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -20,7 +20,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@8.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/RunIntegTestScriptForOSD_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScriptForOSD_Jenkinsfile.txt index c2fe0112..17310f7d 100644 --- a/tests/jenkins/jobs/RunIntegTestScriptForOSD_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScriptForOSD_Jenkinsfile.txt @@ -5,13 +5,13 @@ RunIntegTestScriptForOSD_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScriptForOSD_Jenkinsfile.runIntegTestScriptForOSD({localComponent=reportsDashboard, ciGroup=, switchUserNonRoot=false, artifactPathOpenSearch=dummy/path/opensearch, artifactBucketName=test-bucket, artifactPath=dummy/artifact/path, distribution=x64, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml}) runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) - runIntegTestScriptForOSD.library({identifier=jenkins@main, retriever=null}) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-307) runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) runIntegTestScriptForOSD.sh(rm -rf test-results) runIntegTestScriptForOSD.runIntegTestScript({jobName=dummy-integ-test, componentName=reportsDashboard, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml, localPath=/home/user/x64, switchUserNonRoot=false, ciGroup=}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -20,7 +20,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@8.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_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt index 3a0cc476..53a3ed76 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, ciGroup=}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@8.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@8.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 3175669f..c7900a7f 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, ciGroup=}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@8.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 258e790f..ecc33e49 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, ciGroup=}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@8.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@8.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 34a14ea9..3c93e813 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, ciGroup=1}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@main, retriever=null}) + runIntegTestScript.library({identifier=jenkins@8.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 8669624b..cad617b2 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@8.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 de29b682..da352918 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@8.0.0, retriever=null}) uploadMinSnapshotsToS3.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() uploadMinSnapshotsToS3.readYaml({file=tests/data/tar/builds/opensearch/manifest.yml}) diff --git a/vars/archiveAssembleUpload.groovy b/vars/archiveAssembleUpload.groovy index 5c5a88e7..e88ebd8f 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@8.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 585c5c3e..a5322e7b 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@8.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 88f13ad3..f1649d1b 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@8.0.0', retriever: legacySCM(scm)) assembleManifest(args) uploadArtifacts(args) diff --git a/vars/buildArchive.groovy b/vars/buildArchive.groovy index 3eba4ade..056c0c65 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@8.0.0', retriever: legacySCM(scm)) buildManifest(args) String stashName = "${args.stashName}" diff --git a/vars/buildAssembleUpload.groovy b/vars/buildAssembleUpload.groovy index 1019ae50..6d8dd960 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@8.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 0cacd0d3..080ecd04 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@8.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 2e5167f1..0d1efdbb 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@8.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 2b1ddee1..8a953a89 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@8.0.0', retriever: legacySCM(scm)) def sha = getManifestSHA(args) diff --git a/vars/buildYumRepo.groovy b/vars/buildYumRepo.groovy index bb6ced91..14210979 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@8.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 d0f893c8..d749c1a9 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@8.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 72cda7b7..4fba2ffd 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@8.0.0', retriever: legacySCM(scm)) return { args -> signArtifacts(args) } diff --git a/vars/createUploadTestReportManifest.groovy b/vars/createUploadTestReportManifest.groovy index c32fcb58..9cf69b69 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@8.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 cfa74aac..f98a52a6 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@8.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 ec07f9ad..fc7d838d 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@8.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 19b58d34..b3f7bfbd 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@8.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 76ede00d..e3a551bf 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@8.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 e708346e..2438c58c 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@8.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 db7fca4b..ea3868a1 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@8.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 d6df14be..61ab8126 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@8.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 54fb4ea6..8b34c61f 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@8.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 757c1ec5..2aaa4eb7 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@8.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 5c5d5c64..6cf838ae 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@8.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 1427abfd..a790eec5 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@8.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 3ac16490..5bfe6581 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@8.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 76c47c5f..6a90d989 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@8.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 73c8f7de..84172605 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@8.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 30f1bfc5..cb2a5a83 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@8.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 6d132d41..3a91421e 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@8.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 d40f5552..dbed07b9 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@8.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 c8d958d9..a29c2012 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@8.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 96f69d12..f622ce9f 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@8.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 946d9a82..ad93f66d 100644 --- a/vars/runIntegTestScript.groovy +++ b/vars/runIntegTestScript.groovy @@ -18,7 +18,7 @@ * @param args.ciGroup The particular ci-group number to run the integration tests for */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@8.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/runIntegTestScriptForOSD.groovy b/vars/runIntegTestScriptForOSD.groovy index 5675d293..6d015849 100644 --- a/vars/runIntegTestScriptForOSD.groovy +++ b/vars/runIntegTestScriptForOSD.groovy @@ -21,7 +21,7 @@ * @param args.testManifest OSD test manifest for release version */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@main', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@8.0.0', retriever: legacySCM(scm)) unstash "integtest-opensearch-dashboards-${BUILD_NUMBER}" diff --git a/vars/runPerfTestScript.groovy b/vars/runPerfTestScript.groovy index 4c78e01e..a824a38d 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@8.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 61e44635..d8aaaab7 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@8.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 401faea1..2296f913 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@8.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 281d2565..6891e990 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@8.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifestFileName))