diff --git a/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt b/tests/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile.txt index 5ae652ab..0a2d1a47 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@6.9.2, retriever=null}) + archiveAssembleUpload.library({identifier=jenkins@7.0.0, retriever=null}) archiveAssembleUpload.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() archiveAssembleUpload.echo(Unstashing test-stash-tar before starting the assemble process) @@ -15,17 +15,17 @@ BuildManifest.asBoolean() archiveAssembleUpload.assembleUpload({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar, buildManifest=tar/builds/opensearch/manifest.yml}) assembleUpload.legacySCM(groovy.lang.Closure) - assembleUpload.library({identifier=jenkins@6.9.2, retriever=null}) + assembleUpload.library({identifier=jenkins@7.0.0, retriever=null}) assembleUpload.assembleManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar, buildManifest=tar/builds/opensearch/manifest.yml}) assembleManifest.legacySCM(groovy.lang.Closure) - assembleManifest.library({identifier=jenkins@6.9.2, retriever=null}) + assembleManifest.library({identifier=jenkins@7.0.0, retriever=null}) assembleManifest.readYaml({file=tar/builds/opensearch/manifest.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 33) assembleManifest.sh(./assemble.sh "tar/builds/opensearch/manifest.yml" --base-url https://ci.opensearch.org/dbc/vars-build/1.3.0/33/linux/x64) assembleUpload.uploadArtifacts({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar, buildManifest=tar/builds/opensearch/manifest.yml}) uploadArtifacts.legacySCM(groovy.lang.Closure) - uploadArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + uploadArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) uploadArtifacts.readYaml({file=tar/builds/opensearch/manifest.yml}) BuildManifest.asBoolean() BuildManifest.getMinArtifact() diff --git a/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt b/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt index 28e13a84..dbd69af2 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@6.9.2, retriever=null}) + assembleManifest.library({identifier=jenkins@7.0.0, retriever=null}) assembleManifest.readYaml({file=tests/data/opensearch-build-1.3.0-rpm.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 123) @@ -92,7 +92,7 @@ ) assembleManifest.buildYumRepo({baseUrl=https://ci.opensearch.org/dbc/vars-build/1.3.0/123/linux/x64, buildManifest=tests/data/opensearch-build-1.3.0-rpm.yml}) buildYumRepo.legacySCM(groovy.lang.Closure) - buildYumRepo.library({identifier=jenkins@6.9.2, retriever=null}) + buildYumRepo.library({identifier=jenkins@7.0.0, retriever=null}) buildYumRepo.readYaml({file=tests/data/opensearch-build-1.3.0-rpm.yml}) BuildManifest.asBoolean() buildYumRepo.echo(Create yum repo metadata and repo file tests/data/opensearch-build-1.3.0-rpm.yml) diff --git a/tests/jenkins/jobs/AssembleManifest_tar_Jenkinsfile.txt b/tests/jenkins/jobs/AssembleManifest_tar_Jenkinsfile.txt index 023df102..8ae331ee 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@6.9.2, retriever=null}) + assembleManifest.library({identifier=jenkins@7.0.0, retriever=null}) assembleManifest.readYaml({file=tests/data/opensearch-build-1.3.0.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 123) diff --git a/tests/jenkins/jobs/AssembleUpload_Jenkinsfile.txt b/tests/jenkins/jobs/AssembleUpload_Jenkinsfile.txt index 6115c7ab..a7d126b4 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@6.9.2, retriever=null}) + assembleUpload.library({identifier=jenkins@7.0.0, retriever=null}) assembleUpload.assembleManifest({buildManifest=tests/data/opensearch-build-1.1.0.yml}) assembleManifest.legacySCM(groovy.lang.Closure) - assembleManifest.library({identifier=jenkins@6.9.2, retriever=null}) + assembleManifest.library({identifier=jenkins@7.0.0, retriever=null}) assembleManifest.readYaml({file=tests/data/opensearch-build-1.1.0.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 33) assembleManifest.sh(./assemble.sh "tests/data/opensearch-build-1.1.0.yml" --base-url https://ci.opensearch.org/dbc/vars-build/1.1.0/33/linux/x64) assembleUpload.uploadArtifacts({buildManifest=tests/data/opensearch-build-1.1.0.yml}) uploadArtifacts.legacySCM(groovy.lang.Closure) - uploadArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + uploadArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) uploadArtifacts.readYaml({file=tests/data/opensearch-build-1.1.0.yml}) BuildManifest.asBoolean() BuildManifest.getMinArtifact() diff --git a/tests/jenkins/jobs/BenchmarkTestMultinode_Jenkinsfile.txt b/tests/jenkins/jobs/BenchmarkTestMultinode_Jenkinsfile.txt index 5de72dcd..6ec76a4f 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@6.9.2, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -13,7 +13,7 @@ BuildManifest.asBoolean() BenchmarkTestMultinode_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, distributionUrl=, distributionVersion=, workload=nyc_taxis, insecure=false, singleNode=false, minDistribution=false, use50PercentHeap=true, enableRemoteStore=true, suffix=307-secure, managerNodeCount=3, dataNodeCount=3, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=, userTag=key1:value1,security-enabled:true, workloadParams={"key2":"value2"}, testProcedure=custom-test-procedure, excludeTasks=index-append,default, includeTasks=type:search,index, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=true, captureSegmentReplicationStat=false, telemetryParams={"telemetry_setting":"value"}}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) @@ -35,7 +35,7 @@ BenchmarkTestMultinode_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTestMultinode_Jenkinsfile.downloadBuildManifest({url=test://artifact.url, path=tests/data/opensearch-1.3.0-bundle.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@6.9.2, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -43,7 +43,7 @@ BuildManifest.asBoolean() BenchmarkTestMultinode_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, distributionUrl=, distributionVersion=, workload=nyc_taxis, insecure=true, singleNode=false, minDistribution=false, use50PercentHeap=true, enableRemoteStore=true, suffix=307, managerNodeCount=3, dataNodeCount=3, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=, userTag=key1:value1,security-enabled:false, workloadParams={"key2":"value2"}, testProcedure=custom-test-procedure, excludeTasks=index-append,default, includeTasks=type:search,index, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=true, captureSegmentReplicationStat=false, telemetryParams={"telemetry_setting":"value"}}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/BenchmarkTestNoManifest_Jenkinsfile.txt b/tests/jenkins/jobs/BenchmarkTestNoManifest_Jenkinsfile.txt index f4cc2143..a9a8d6ad 100644 --- a/tests/jenkins/jobs/BenchmarkTestNoManifest_Jenkinsfile.txt +++ b/tests/jenkins/jobs/BenchmarkTestNoManifest_Jenkinsfile.txt @@ -5,7 +5,7 @@ BenchmarkTestNoManifest_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTestNoManifest_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=, distributionUrl=https://www.example.com/example.tar.gz, distributionVersion=3.0.0, workload=nyc_taxis, insecure=false, singleNode=true, minDistribution=false, use50PercentHeap=true, enableRemoteStore=false, suffix=307-secure, managerNodeCount=, dataNodeCount=, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=r5.8xlarge, userTag=security-enabled:true, workloadParams=, testProcedure=custom-test-procedure, excludeTasks=, includeTasks=, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) runBenchmarkTestScript.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) runBenchmarkTestScript.withCredentials([AWS_ACCOUNT_PUBLIC, ARTIFACT_BUCKET_NAME], groovy.lang.Closure) @@ -22,7 +22,7 @@ BenchmarkTestNoManifest_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTestNoManifest_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=, distributionUrl=https://www.example.com/example.tar.gz, distributionVersion=3.0.0, workload=nyc_taxis, insecure=true, singleNode=true, minDistribution=false, use50PercentHeap=true, enableRemoteStore=false, suffix=307, managerNodeCount=, dataNodeCount=, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=r5.8xlarge, userTag=security-enabled:false, workloadParams=, testProcedure=custom-test-procedure, excludeTasks=, includeTasks=, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) runBenchmarkTestScript.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) runBenchmarkTestScript.withCredentials([AWS_ACCOUNT_PUBLIC, ARTIFACT_BUCKET_NAME], groovy.lang.Closure) diff --git a/tests/jenkins/jobs/BenchmarkTestWithEndpoint_Jenkinsfile.txt b/tests/jenkins/jobs/BenchmarkTestWithEndpoint_Jenkinsfile.txt index b6da179f..3edba4f2 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@6.9.2, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) runBenchmarkTestScript.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) runBenchmarkTestScript.withCredentials([AWS_ACCOUNT_PUBLIC, ARTIFACT_BUCKET_NAME], groovy.lang.Closure) diff --git a/tests/jenkins/jobs/BenchmarkTest_Jenkinsfile.txt b/tests/jenkins/jobs/BenchmarkTest_Jenkinsfile.txt index f1e94539..c002e059 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@6.9.2, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -13,7 +13,7 @@ BuildManifest.asBoolean() BenchmarkTest_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, distributionUrl=, distributionVersion=, workload=nyc_taxis, insecure=false, singleNode=true, minDistribution=false, use50PercentHeap=true, enableRemoteStore=false, suffix=307-secure, managerNodeCount=, dataNodeCount=, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=r5.8xlarge, userTag=security-enabled:true, workloadParams={"key2":"value2"}, testProcedure=, excludeTasks=, includeTasks=, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) @@ -35,7 +35,7 @@ BenchmarkTest_Jenkinsfile.script(groovy.lang.Closure) BenchmarkTest_Jenkinsfile.downloadBuildManifest({url=test://artifact.url, path=tests/data/opensearch-1.3.0-bundle.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@6.9.2, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -43,7 +43,7 @@ BuildManifest.asBoolean() BenchmarkTest_Jenkinsfile.runBenchmarkTestScript({command=execute-test, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, distributionUrl=, distributionVersion=, workload=nyc_taxis, insecure=true, singleNode=true, minDistribution=false, use50PercentHeap=true, enableRemoteStore=false, suffix=307, managerNodeCount=, dataNodeCount=, clientNodeCount=, ingestNodeCount=, mlNodeCount=, dataInstanceType=r5.8xlarge, userTag=security-enabled:false, workloadParams={"key2":"value2"}, testProcedure=, excludeTasks=, includeTasks=, additionalConfig=cluster.indices.replication.strategy:SEGMENT, dataStorageSize=200, mlStorageSize=200, jvmSysProps=, captureNodeStat=false, captureSegmentReplicationStat=true, telemetryParams=}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt b/tests/jenkins/jobs/BuildArchive_Jenkinsfile.txt index 3d853c4f..a3948695 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@6.9.2, retriever=null}) + buildArchive.library({identifier=jenkins@7.0.0, retriever=null}) buildArchive.buildManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@6.9.2, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-1.3.0.yml -d tar -p linux -a x64) diff --git a/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt b/tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile.txt index 7ddbedd8..f30cea43 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@6.9.2, retriever=null}) + buildAssembleUpload.library({identifier=jenkins@7.0.0, retriever=null}) buildAssembleUpload.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildAssembleUpload.buildManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@6.9.2, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-1.3.0.yml -d tar -p linux -a x64) @@ -18,17 +18,17 @@ BuildManifest.asBoolean() buildAssembleUpload.assembleUpload({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, buildManifest=tar/builds/opensearch/manifest.yml}) assembleUpload.legacySCM(groovy.lang.Closure) - assembleUpload.library({identifier=jenkins@6.9.2, retriever=null}) + assembleUpload.library({identifier=jenkins@7.0.0, retriever=null}) assembleUpload.assembleManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, buildManifest=tar/builds/opensearch/manifest.yml}) assembleManifest.legacySCM(groovy.lang.Closure) - assembleManifest.library({identifier=jenkins@6.9.2, retriever=null}) + assembleManifest.library({identifier=jenkins@7.0.0, retriever=null}) assembleManifest.readYaml({file=tar/builds/opensearch/manifest.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 33) assembleManifest.sh(./assemble.sh "tar/builds/opensearch/manifest.yml" --base-url https://ci.opensearch.org/dbc/vars-build/1.3.0/33/linux/x64) assembleUpload.uploadArtifacts({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, buildManifest=tar/builds/opensearch/manifest.yml}) uploadArtifacts.legacySCM(groovy.lang.Closure) - uploadArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + uploadArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) uploadArtifacts.readYaml({file=tar/builds/opensearch/manifest.yml}) BuildManifest.asBoolean() BuildManifest.getMinArtifact() diff --git a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_builds_both.txt b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_builds_both.txt index b0f65d8e..01f74b17 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@6.9.2, retriever=null}) + buildDockerImage.library({identifier=jenkins@7.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Triggering docker-build) diff --git a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_arm64.txt b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_arm64.txt index 1dfdaf80..2d6b272c 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@6.9.2, retriever=null}) + buildDockerImage.library({identifier=jenkins@7.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Skipping docker build, one of x64 or arm64 artifacts was not built.) diff --git a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_both.txt b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_both.txt index 3f7e57b9..2472dbaf 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@6.9.2, retriever=null}) + buildDockerImage.library({identifier=jenkins@7.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Skipping docker build, one of x64 or arm64 artifacts was not built.) diff --git a/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_x64.txt b/tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_skips_x64.txt index fc4d8801..54fdbaaa 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@6.9.2, retriever=null}) + buildDockerImage.library({identifier=jenkins@7.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Skipping docker build, one of x64 or arm64 artifacts was not built.) diff --git a/tests/jenkins/jobs/BuildDockerImage_Qualifier_Jenkinsfile_builds_both.txt b/tests/jenkins/jobs/BuildDockerImage_Qualifier_Jenkinsfile_builds_both.txt index 5ebfc410..8ec9fcdb 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@6.9.2, retriever=null}) + buildDockerImage.library({identifier=jenkins@7.0.0, retriever=null}) buildDockerImage.readYaml({file=tests/data/opensearch-2.0.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Triggering docker-build) diff --git a/tests/jenkins/jobs/BuildShManifestIncremental_Jenkinsfile.txt b/tests/jenkins/jobs/BuildShManifestIncremental_Jenkinsfile.txt index ad77d2df..8b10bc4e 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@6.9.2, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-input-2.12.0.yml}) InputManifest.asBoolean() buildManifest.sh({script=curl -sL dummy-url/dummy-build-job/2.12.0/index/linux/x64/tar/index.json | jq -r ".latest" > /dev/null 2>&1, returnStatus=true}) @@ -16,7 +16,7 @@ buildManifest.retrievePreviousBuild({inputManifest=tests/data/opensearch-input-2.12.0.yml, distribution=tar, platform=linux, architecture=x64, incremental=true, previousBuildId=latest, distributionBuildNumber=bbb ccc}) retrievePreviousBuild.legacySCM(groovy.lang.Closure) - retrievePreviousBuild.library({identifier=jenkins@6.9.2, retriever=null}) + retrievePreviousBuild.library({identifier=jenkins@7.0.0, retriever=null}) retrievePreviousBuild.readYaml({file=tests/data/opensearch-input-2.12.0.yml}) InputManifest.asBoolean() retrievePreviousBuild.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) diff --git a/tests/jenkins/jobs/BuildShManifest_Jenkinsfile.txt b/tests/jenkins/jobs/BuildShManifest_Jenkinsfile.txt index 410668f7..e9920eac 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@6.9.2, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-2.0.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-2.0.0.yml -d tar --snapshot --continue-on-error) BuildShManifest_Jenkinsfile.buildManifest({componentName=job-scheduler, inputManifest=tests/data/opensearch-2.0.0.yml, distribution=tar, snapshot=true}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@6.9.2, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-2.0.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-2.0.0.yml -d tar --component job-scheduler --snapshot) BuildShManifest_Jenkinsfile.buildManifest({componentName=common-utils, inputManifest=tests/data/opensearch-2.0.0.yml, distribution=rpm, lock=true, snapshot=true}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@6.9.2, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-2.0.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-2.0.0.yml -d rpm --component common-utils --snapshot --lock) diff --git a/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt b/tests/jenkins/jobs/BuildUploadManifestSHA_Jenkinsfile.txt index ecb0a125..64cf8b24 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@6.9.2, retriever=null}) + buildUploadManifestSHA.library({identifier=jenkins@7.0.0, retriever=null}) buildUploadManifestSHA.getManifestSHA({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64}) getManifestSHA.buildManifest({inputManifest=tests/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, lock=true}) buildManifest.legacySCM(groovy.lang.Closure) - buildManifest.library({identifier=jenkins@6.9.2, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-1.3.0.yml -p linux -a x64 --lock) getManifestSHA.sha1(tests/data/opensearch-1.3.0.yml.lock) getManifestSHA.echo(Manifest SHA: sha1) getManifestSHA.legacySCM(groovy.lang.Closure) - getManifestSHA.library({identifier=jenkins@6.9.2, retriever=null}) + getManifestSHA.library({identifier=jenkins@7.0.0, retriever=null}) getManifestSHA.readYaml({file=tests/data/opensearch-1.3.0.yml.lock}) InputManifest.asBoolean() InputManifest.getSHAsRoot(get-manifest-sha-build) diff --git a/tests/jenkins/jobs/BuildYumRepo_Jenkinsfile.txt b/tests/jenkins/jobs/BuildYumRepo_Jenkinsfile.txt index 7363475f..5fed8e0d 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@6.9.2, retriever=null}) + buildYumRepo.library({identifier=jenkins@7.0.0, retriever=null}) buildYumRepo.readYaml({file=tests/data/opensearch-build-1.3.0.yml}) BuildManifest.asBoolean() buildYumRepo.echo(Create yum repo metadata and repo file tests/data/opensearch-build-1.3.0.yml) diff --git a/tests/jenkins/jobs/CompareTest_Jenkinsfile.txt b/tests/jenkins/jobs/CompareTest_Jenkinsfile.txt index 0b91e939..4de47b59 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@6.9.2, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) @@ -23,7 +23,7 @@ CompareTest_Jenkinsfile.script(groovy.lang.Closure) CompareTest_Jenkinsfile.runBenchmarkTestScript({command=compare, baseline=12345, contender=54321, suffix=compare-tester, bundleManifest=tests/data/opensearch-1.3.0-bundle.yml}) runBenchmarkTestScript.legacySCM(groovy.lang.Closure) - runBenchmarkTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runBenchmarkTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBenchmarkTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runBenchmarkTestScript.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt b/tests/jenkins/jobs/CreateReleaseTag_Jenkinsfile.txt index 3d33cdc8..1b897202 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@6.9.2, retriever=null}) + createReleaseTag.library({identifier=jenkins@7.0.0, retriever=null}) createReleaseTag.readYaml({file=tests/data/opensearch-build-1.1.0.yml}) BundleManifest.asBoolean() BundleManifest.getNames() diff --git a/tests/jenkins/jobs/CreateUploadTestReportManifest_Jenkinsfile.txt b/tests/jenkins/jobs/CreateUploadTestReportManifest_Jenkinsfile.txt index 1e05f2ca..c277d0f8 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@6.9.2, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@7.0.0, retriever=null}) createUploadTestReportManifest.readYaml({file=tests/data/opensearch-1.3.0-test.yml}) TestManifest.asBoolean() createUploadTestReportManifest.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) @@ -29,7 +29,7 @@ createUploadTestReportManifest.s3Upload({file=/tmp/workspace/test-report.yml, bucket=ARTIFACT_BUCKET_NAME, path=dummy_integ_test/1.3.0/29/linux/x64/tar/test-results/1234/integ-test/test-report.yml}) CreateUploadTestReportManifest_Jenkinsfile.createUploadTestReportManifest({testManifest=tests/data/opensearch-dashboards-1.3.0-test.yml, buildManifest=tests/data/opensearch-1.3.0-build.yml, dashboardsBuildManifest=tests/data/opensearch-dashboards-build-1.3.0.yml, testRunID=1234, testType=integ-test}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@6.9.2, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@7.0.0, retriever=null}) createUploadTestReportManifest.readYaml({file=tests/data/opensearch-dashboards-1.3.0-test.yml}) TestManifest.asBoolean() createUploadTestReportManifest.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) @@ -56,7 +56,7 @@ createUploadTestReportManifest.s3Upload({file=/tmp/workspace/test-report.yml, bucket=ARTIFACT_BUCKET_NAME, path=dummy_integ_test/1.3.0/25b38c278cdd45efa583765d8ba76346/linux/x64/tar/test-results/1234/integ-test/test-report.yml}) CreateUploadTestReportManifest_Jenkinsfile.createUploadTestReportManifest({testManifest=tests/data/opensearch-dashboards-1.3.0-test.yml, buildManifest=tests/data/opensearch-1.3.0-build.yml, dashboardsBuildManifest=tests/data/opensearch-dashboards-build-1.3.0.yml, testRunID=1234, testType=integ-test, rcNumber=100}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@6.9.2, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@7.0.0, retriever=null}) createUploadTestReportManifest.readYaml({file=tests/data/opensearch-dashboards-1.3.0-test.yml}) TestManifest.asBoolean() createUploadTestReportManifest.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) diff --git a/tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt b/tests/jenkins/jobs/DetectDockerImage_Jenkinsfile.txt index c5b65982..88c86e0d 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@6.9.2, retriever=null}) + detectDockerAgent.library({identifier=jenkins@7.0.0, retriever=null}) detectDockerAgent.readYaml({file=tests/data/os-template-1.1.0.yml}) InputManifest.asBoolean() detectDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-v1 (null)) @@ -14,7 +14,7 @@ DetectDockerImage_Jenkinsfile.script(groovy.lang.Closure) DetectDockerImage_Jenkinsfile.detectDockerAgent({manifest=tests/data/os-template-1.2.0.yml}) detectDockerAgent.legacySCM(groovy.lang.Closure) - detectDockerAgent.library({identifier=jenkins@6.9.2, retriever=null}) + detectDockerAgent.library({identifier=jenkins@7.0.0, retriever=null}) detectDockerAgent.readYaml({file=tests/data/os-template-1.2.0.yml}) InputManifest.asBoolean() detectDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211028 (-e JAVA_HOME=/usr/lib/jvm/adoptopenjdk-14-hotspot)) @@ -26,7 +26,7 @@ DetectDockerImage_Jenkinsfile.script(groovy.lang.Closure) DetectDockerImage_Jenkinsfile.detectDockerAgent({manifest=tests/data/osd-template-1.1.0.yml}) detectDockerAgent.legacySCM(groovy.lang.Closure) - detectDockerAgent.library({identifier=jenkins@6.9.2, retriever=null}) + detectDockerAgent.library({identifier=jenkins@7.0.0, retriever=null}) detectDockerAgent.readYaml({file=tests/data/osd-template-1.1.0.yml}) InputManifest.asBoolean() detectDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211028 (null)) @@ -38,7 +38,7 @@ DetectDockerImage_Jenkinsfile.script(groovy.lang.Closure) DetectDockerImage_Jenkinsfile.detectDockerAgent({manifest=tests/data/opensearch-dashboards-1.2.0.yml}) detectDockerAgent.legacySCM(groovy.lang.Closure) - detectDockerAgent.library({identifier=jenkins@6.9.2, retriever=null}) + detectDockerAgent.library({identifier=jenkins@7.0.0, retriever=null}) detectDockerAgent.readYaml({file=tests/data/opensearch-dashboards-1.2.0.yml}) InputManifest.asBoolean() detectDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211028 (null)) diff --git a/tests/jenkins/jobs/DetectTestDockerAgent_Jenkinsfile.txt b/tests/jenkins/jobs/DetectTestDockerAgent_Jenkinsfile.txt index d52cdbe0..d9ff9a7b 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@6.9.2, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@7.0.0, retriever=null}) detectTestDockerAgent.readYaml({file=tests/data/opensearch-1.3.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-v1 (-e JAVA_HOME=/opt/java/openjdk-11)) diff --git a/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt b/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_does_not_exist.txt index f388ba77..b1996226 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@6.9.2, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-1.3.0.yml -p linux -a x64 --lock) getManifestSHA.sha1(tests/data/opensearch-1.3.0.yml.lock) getManifestSHA.echo(Manifest SHA: sha1) getManifestSHA.legacySCM(groovy.lang.Closure) - getManifestSHA.library({identifier=jenkins@6.9.2, retriever=null}) + getManifestSHA.library({identifier=jenkins@7.0.0, retriever=null}) getManifestSHA.readYaml({file=tests/data/opensearch-1.3.0.yml.lock}) InputManifest.asBoolean() InputManifest.getSHAsRoot(get-manifest-sha-build) diff --git a/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt b/tests/jenkins/jobs/GetManifestSHA_Jenkinsfile_exists.txt index 5b8b9273..de2563af 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@6.9.2, retriever=null}) + buildManifest.library({identifier=jenkins@7.0.0, retriever=null}) buildManifest.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildManifest.sh(./build.sh tests/data/opensearch-1.3.0.yml -p linux -a x64 --lock) getManifestSHA.sha1(tests/data/opensearch-1.3.0.yml.lock) getManifestSHA.echo(Manifest SHA: sha1) getManifestSHA.legacySCM(groovy.lang.Closure) - getManifestSHA.library({identifier=jenkins@6.9.2, retriever=null}) + getManifestSHA.library({identifier=jenkins@7.0.0, retriever=null}) getManifestSHA.readYaml({file=tests/data/opensearch-1.3.0.yml.lock}) InputManifest.asBoolean() InputManifest.getSHAsRoot(get-manifest-sha-build) diff --git a/tests/jenkins/jobs/PatchDockerImage_Jenkinsfile.txt b/tests/jenkins/jobs/PatchDockerImage_Jenkinsfile.txt index db827f8b..b215c756 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@6.9.2, retriever=null}) + patchDockerImage.library({identifier=jenkins@7.0.0, retriever=null}) patchDockerImage.sh(#!/bin/bash set -e set +x @@ -20,7 +20,7 @@ InputManifest.asBoolean() patchDockerImage.buildDockerImage({inputManifest=manifests/1.3.0/opensearch-1.3.0.yml, buildNumber=7756, buildGitRef=1.3.0, buildDate=20230619, buildOption=re_release_docker_image, artifactUrlX64=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.0/7756/linux/x64/tar/dist/opensearch/opensearch-1.3.0-linux-x64.tar.gz, artifactUrlArm64=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.0/7756/linux/arm64/tar/dist/opensearch/opensearch-1.3.0-linux-arm64.tar.gz}) buildDockerImage.legacySCM(groovy.lang.Closure) - buildDockerImage.library({identifier=jenkins@6.9.2, retriever=null}) + buildDockerImage.library({identifier=jenkins@7.0.0, retriever=null}) buildDockerImage.readYaml({file=manifests/1.3.0/opensearch-1.3.0.yml}) InputManifest.asBoolean() buildDockerImage.echo(Triggering docker-build) diff --git a/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt b/tests/jenkins/jobs/PerfTest_Jenkinsfile.txt index 15e5ce8e..ffda0d67 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@6.9.2, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -13,7 +13,7 @@ BuildManifest.asBoolean() PerfTest_Jenkinsfile.runPerfTestScript({bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, buildId=1236, architecture=x64, insecure=false, workload=nyc_taxis, testIterations=1, warmupIterations=1, stackNameSuffix=307}) runPerfTestScript.legacySCM(groovy.lang.Closure) - runPerfTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runPerfTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runPerfTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runPerfTestScript.sh( @@ -33,7 +33,7 @@ PerfTest_Jenkinsfile.script(groovy.lang.Closure) PerfTest_Jenkinsfile.downloadBuildManifest({url=test://artifact.url, path=tests/data/opensearch-1.3.0-bundle.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@6.9.2, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@7.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/data/opensearch-1.3.0-bundle.yml")) downloadBuildManifest.sh(touch tests/data/opensearch-1.3.0-bundle.yml) downloadBuildManifest.sh(curl -sSL --retry 5 test://artifact.url --output tests/data/opensearch-1.3.0-bundle.yml) @@ -41,7 +41,7 @@ BuildManifest.asBoolean() PerfTest_Jenkinsfile.runPerfTestScript({bundleManifest=tests/data/opensearch-1.3.0-bundle.yml, buildId=1236, architecture=x64, insecure=true, workload=nyc_taxis, testIterations=1, warmupIterations=1, stackNameSuffix=307}) runPerfTestScript.legacySCM(groovy.lang.Closure) - runPerfTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runPerfTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runPerfTestScript.readYaml({file=tests/data/opensearch-1.3.0-bundle.yml}) BuildManifest.asBoolean() runPerfTestScript.sh( diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile.txt index 275b8499..2cfc3e53 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@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_Jenkinsfile_Windows.txt.txt index 90396e73..f2af054c 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@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile.txt index 07a07f09..7bd3abee 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@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt index 83fe859e..8c0729a8 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@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile.txt index 665b90ff..4d61f881 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@6.9.2, retriever=null}) + createSignatureFiles.library({identifier=jenkins@7.0.0, retriever=null}) PromoteArtifactsQualifier_actions_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-2.0.0-rc1.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_Jenkinsfile_Windows.txt.txt index 0741c593..61761bd5 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@6.9.2, retriever=null}) + createSignatureFiles.library({identifier=jenkins@7.0.0, retriever=null}) PromoteArtifactsQualifier_actions_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-2.0.0-rc1.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.txt index 99624051..1cbe6e4d 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@6.9.2, retriever=null}) + createSignatureFiles.library({identifier=jenkins@7.0.0, retriever=null}) PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-2.0.0-rc1.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt index 0d6980f9..f0379cac 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@6.9.2, retriever=null}) + createSignatureFiles.library({identifier=jenkins@7.0.0, retriever=null}) PromoteArtifactsQualifier_actions_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-2.0.0-rc1.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-2.0.0-rc1.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile.txt index 704439f1..4538fbfd 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@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile_Windows.txt.txt index 22d17606..bc666869 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@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile.txt index c4989d1d..c998eadf 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@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifacts_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt index a547b87a..fc878f0b 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@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile.txt index dc237ade..4b15ad8b 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@6.9.2, retriever=null}) + createSignatureFiles.library({identifier=jenkins@7.0.0, retriever=null}) PromoteArtifacts_actions_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-1.3.0.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile_Windows.txt.txt index 8b8748bc..0eea64d3 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@6.9.2, retriever=null}) + createSignatureFiles.library({identifier=jenkins@7.0.0, retriever=null}) PromoteArtifacts_actions_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-1.3.0.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.txt index 15398a7f..159842fb 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@6.9.2, retriever=null}) + createSignatureFiles.library({identifier=jenkins@7.0.0, retriever=null}) PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-1.3.0.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt b/tests/jenkins/jobs/PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile_Windows.txt.txt index efbce66e..ca1442b6 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@6.9.2, retriever=null}) + createSignatureFiles.library({identifier=jenkins@7.0.0, retriever=null}) PromoteArtifacts_actions_OpenSearch_Dashboards_Jenkinsfile.promoteArtifacts({manifest=tests/data/opensearch-dashboards-1.3.0.yml, fileActions=[groovy.lang.Closure, groovy.lang.Closure]}) promoteArtifacts.legacySCM(groovy.lang.Closure) - promoteArtifacts.library({identifier=jenkins@6.9.2, retriever=null}) + promoteArtifacts.library({identifier=jenkins@7.0.0, retriever=null}) promoteArtifacts.readYaml({file=tests/data/opensearch-dashboards-1.3.0.yml}) InputManifest.asBoolean() promoteArtifacts.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) diff --git a/tests/jenkins/jobs/PromoteRepos_Jenkinsfile.txt b/tests/jenkins/jobs/PromoteRepos_Jenkinsfile.txt index 54e98b46..0c9868f1 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@6.9.2, retriever=null}) + promoteRepos.library({identifier=jenkins@7.0.0, retriever=null}) promoteRepos.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteRepos.string({credentialsId=jenkins-artifact-promotion-role, variable=ARTIFACT_PROMOTION_ROLE_NAME}) @@ -86,7 +86,7 @@ PromoteRepos_Jenkinsfile.script(groovy.lang.Closure) PromoteRepos_Jenkinsfile.promoteRepos({jobName=opensearch, buildNumber=123, distributionRepoType=apt, manifest=tests/data/opensearch-1.3.0.yml}) promoteRepos.legacySCM(groovy.lang.Closure) - promoteRepos.library({identifier=jenkins@6.9.2, retriever=null}) + promoteRepos.library({identifier=jenkins@7.0.0, retriever=null}) promoteRepos.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() promoteRepos.string({credentialsId=jenkins-artifact-promotion-role, variable=ARTIFACT_PROMOTION_ROLE_NAME}) diff --git a/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt index 7ed3494c..2961f78d 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@6.9.2, retriever=null}) + publishToArtifactsProdBucket.library({identifier=jenkins@7.0.0, retriever=null}) publishToArtifactsProdBucket.signArtifacts({artifactPath=the-windows-msi.msi, platform=windows, overwrite=true}) signArtifacts.fileExists(/tmp/workspace/sign.sh) signArtifacts.dir(opensearch-build, groovy.lang.Closure) @@ -36,7 +36,7 @@ publishToArtifactsProdBucket.s3Upload({file=the-windows-msi.msi, bucket=ARTIFACT_PRODUCTION_BUCKET_NAME, path=msi/}) PublishToArtifactsProdBucket_Jenkinsfile.publishToArtifactsProdBucket({assumedRoleName=test-role-2, source=reporting-cli-2.3.0.tg.gz, destination=reporting-cli/}) publishToArtifactsProdBucket.legacySCM(groovy.lang.Closure) - publishToArtifactsProdBucket.library({identifier=jenkins@6.9.2, retriever=null}) + publishToArtifactsProdBucket.library({identifier=jenkins@7.0.0, retriever=null}) publishToArtifactsProdBucket.signArtifacts({artifactPath=reporting-cli-2.3.0.tg.gz, platform=linux, sigtype=.sig, overwrite=false}) signArtifacts.fileExists(/tmp/workspace/sign.sh) signArtifacts.dir(opensearch-build, groovy.lang.Closure) diff --git a/tests/jenkins/jobs/PublishToMavenManifestYml_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToMavenManifestYml_Jenkinsfile.txt index b731fd52..17fb206c 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@6.9.2, retriever=null}) + publishToMaven.library({identifier=jenkins@7.0.0, retriever=null}) publishToMaven.loadCustomScript({scriptPath=publish/stage-maven-release.sh, scriptName=stage-maven-release.sh}) loadCustomScript.libraryResource(publish/stage-maven-release.sh) loadCustomScript.writeFile({file=stage-maven-release.sh, text=#!/bin/bash diff --git a/tests/jenkins/jobs/PublishToMaven_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToMaven_Jenkinsfile.txt index fdfe5667..80844893 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@6.9.2, retriever=null}) + publishToMaven.library({identifier=jenkins@7.0.0, retriever=null}) publishToMaven.loadCustomScript({scriptPath=publish/stage-maven-release.sh, scriptName=stage-maven-release.sh}) loadCustomScript.libraryResource(publish/stage-maven-release.sh) loadCustomScript.writeFile({file=stage-maven-release.sh, text=#!/bin/bash diff --git a/tests/jenkins/jobs/PublishToNuget_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToNuget_Jenkinsfile.txt index 8c42ed8d..03bfc256 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@6.9.2, retriever=null}) + publishToNuget.library({identifier=jenkins@7.0.0, retriever=null}) publishToNuget.checkout({$class=GitSCM, branches=[{name=1.2.0}], userRemoteConfigs=[{url=https://github.com/opensearch-project/opensearch-net}]}) publishToNuget.sh( dotnet build /tmp/workspace/test-solution-file.sln --configuration Release diff --git a/tests/jenkins/jobs/PublishToPyPiWithDir_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToPyPiWithDir_Jenkinsfile.txt index 0256d524..bb6cd0fd 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@6.9.2, retriever=null}) + publishToPyPi.library({identifier=jenkins@7.0.0, retriever=null}) publishToPyPi.signArtifacts({artifactPath=/tmp/workspace/test, sigtype=.asc, platform=linux}) signArtifacts.fileExists(/tmp/workspace/sign.sh) signArtifacts.sh(curl -sSL https://artifacts.opensearch.org/publickeys/opensearch.pgp | gpg --import -) diff --git a/tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToPyPi_Jenkinsfile.txt index 6aa5b0ff..cc799d3d 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@6.9.2, retriever=null}) + publishToPyPi.library({identifier=jenkins@7.0.0, retriever=null}) publishToPyPi.signArtifacts({artifactPath=/tmp/workspace/dist, sigtype=.asc, platform=linux}) signArtifacts.fileExists(/tmp/workspace/sign.sh) signArtifacts.sh(curl -sSL https://artifacts.opensearch.org/publickeys/opensearch.pgp | gpg --import -) diff --git a/tests/jenkins/jobs/RetrievePreviousBuild_Jenkinsfile.txt b/tests/jenkins/jobs/RetrievePreviousBuild_Jenkinsfile.txt index de324b16..23087d06 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@6.9.2, retriever=null}) + retrievePreviousBuild.library({identifier=jenkins@7.0.0, retriever=null}) retrievePreviousBuild.readYaml({file=tests/data/opensearch-input-2.12.0.yml}) InputManifest.asBoolean() retrievePreviousBuild.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) @@ -20,7 +20,7 @@ retrievePreviousBuild.sh(mkdir -p ~/.m2/repository/org/ && cp -r tar/builds/opensearch/maven/org/opensearch/ ~/.m2/repository/org/) RetrievePreviousBuild_Jenkinsfile.retrievePreviousBuild({inputManifest=tests/data/opensearch-dashboards-input-2.12.0.yml, distribution=zip, architecture=x64, platform=windows, distributionBuildNumber=1234}) retrievePreviousBuild.legacySCM(groovy.lang.Closure) - retrievePreviousBuild.library({identifier=jenkins@6.9.2, retriever=null}) + retrievePreviousBuild.library({identifier=jenkins@7.0.0, retriever=null}) retrievePreviousBuild.readYaml({file=tests/data/opensearch-dashboards-input-2.12.0.yml}) InputManifest.asBoolean() retrievePreviousBuild.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) diff --git a/tests/jenkins/jobs/RpmDashboardsDistValidation_Jenkinsfile.txt b/tests/jenkins/jobs/RpmDashboardsDistValidation_Jenkinsfile.txt index ff2f4235..34551a59 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@6.9.2, retriever=null}) + rpmDashboardsDistValidation.library({identifier=jenkins@7.0.0, retriever=null}) rpmDashboardsDistValidation.readYaml({file=tests/data/opensearch-dashboards-1.3.0-x64-rpm.yml}) BundleManifest.asBoolean() BundleManifest.getNames() diff --git a/tests/jenkins/jobs/RpmOpenSearchDistValidation_Jenkinsfile.txt b/tests/jenkins/jobs/RpmOpenSearchDistValidation_Jenkinsfile.txt index 50a4989b..3d91e8d8 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@6.9.2, retriever=null}) + rpmOpenSearchDistValidation.library({identifier=jenkins@7.0.0, retriever=null}) rpmOpenSearchDistValidation.readYaml({file=tests/data/opensearch-1.3.1-x64-rpm.yml}) BundleManifest.asBoolean() BundleManifest.getNames() diff --git a/tests/jenkins/jobs/RunBwcTestScript_Jenkinsfile.txt b/tests/jenkins/jobs/RunBwcTestScript_Jenkinsfile.txt index 5f0d740e..f8bd1ba2 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@6.9.2, retriever=null}) + runBwcTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBwcTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrl(dummy_job, 717) diff --git a/tests/jenkins/jobs/RunBwcTestScript_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/RunBwcTestScript_OpenSearch_Dashboards_Jenkinsfile.txt index 6b4a0e30..5a3dcc39 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@6.9.2, retriever=null}) + runBwcTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runBwcTestScript.readYaml({file=tests/data/opensearch-dashboards-1.2.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactRootUrl(dummy_job, 215) diff --git a/tests/jenkins/jobs/RunGradleCheckBwcAlign_Jenkinsfile.txt b/tests/jenkins/jobs/RunGradleCheckBwcAlign_Jenkinsfile.txt index 369fe297..6196f9cf 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@6.9.2, retriever=null}) + runGradleCheck.library({identifier=jenkins@7.0.0, retriever=null}) runGradleCheck.usernamePassword({credentialsId=jenkins-gradle-check-s3-aws-credentials, usernameVariable=amazon_s3_access_key, passwordVariable=amazon_s3_secret_key}) runGradleCheck.usernamePassword({credentialsId=jenkins-gradle-check-s3-aws-resources, usernameVariable=amazon_s3_base_path, passwordVariable=amazon_s3_bucket}) runGradleCheck.withCredentials([[amazon_s3_access_key, amazon_s3_secret_key], [amazon_s3_base_path, amazon_s3_bucket]], groovy.lang.Closure) diff --git a/tests/jenkins/jobs/RunGradleCheck_Jenkinsfile.txt b/tests/jenkins/jobs/RunGradleCheck_Jenkinsfile.txt index f1cd02a4..e36b8901 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@6.9.2, retriever=null}) + runGradleCheck.library({identifier=jenkins@7.0.0, retriever=null}) runGradleCheck.usernamePassword({credentialsId=jenkins-gradle-check-s3-aws-credentials, usernameVariable=amazon_s3_access_key, passwordVariable=amazon_s3_secret_key}) runGradleCheck.usernamePassword({credentialsId=jenkins-gradle-check-s3-aws-resources, usernameVariable=amazon_s3_base_path, passwordVariable=amazon_s3_bucket}) runGradleCheck.withCredentials([[amazon_s3_access_key, amazon_s3_secret_key], [amazon_s3_base_path, amazon_s3_bucket]], groovy.lang.Closure) diff --git a/tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt index f8fd922b..f8179091 100644 --- a/tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunIntegTestScript_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScript_Jenkinsfile.runIntegTestScript({jobName=dummy_job, componentName=OpenSearch, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runIntegTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -14,7 +14,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=tests/data/opensearch-1.3.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.9.2, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@7.0.0, retriever=null}) detectTestDockerAgent.readYaml({file=tests/data/opensearch-1.3.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-v1 (-e JAVA_HOME=/opt/java/openjdk-11)) diff --git a/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt index da18bfae..cc0970c1 100644 --- a/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunIntegTestScript_LocalPath_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScript_LocalPath_Jenkinsfile.runIntegTestScript({jobName=dummy_job, componentName=OpenSearch-Dashboards, buildManifest=tests/data/opensearch-dashboards-1.2.0-build.yml, testManifest=tests/data/opensearch-dashboards-1.2.0-test.yml, localPath=tests/jenkins/artifacts/tar}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runIntegTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-dashboards-1.2.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() diff --git a/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.txt index d7fcfeb2..634b3fe2 100644 --- a/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScript_LocalPath_Switch_Non_Root_Jenkinsfile.runIntegTestScript({jobName=dummy_job, componentName=OpenSearch, buildManifest=tests/data/opensearch-1.3.0-build.yml, testManifest=tests/data/opensearch-1.3.0-test.yml, localPath=tests/jenkins/artifacts/tar, switchUserNonRoot=true}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runIntegTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -14,7 +14,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=tests/data/opensearch-1.3.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.9.2, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@7.0.0, retriever=null}) detectTestDockerAgent.readYaml({file=tests/data/opensearch-1.3.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-v1 (-e JAVA_HOME=/opt/java/openjdk-11)) diff --git a/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt b/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt index 2d1603e3..08013cb6 100644 --- a/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt +++ b/tests/jenkins/jobs/RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.txt @@ -5,7 +5,7 @@ RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.script(groovy.lang.Closure) RunIntegTestScript_OpenSearch_Dashboards_Jenkinsfile.runIntegTestScript({jobName=dummy_job, componentName=functionalTestDashboards, buildManifest=tests/data/opensearch-dashboards-1.2.0-build.yml, testManifest=tests/data/opensearch-dashboards-1.2.0-test.yml}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.9.2, retriever=null}) + runIntegTestScript.library({identifier=jenkins@7.0.0, retriever=null}) runIntegTestScript.readYaml({file=tests/data/opensearch-dashboards-1.2.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() diff --git a/tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt b/tests/jenkins/jobs/UploadTestResults_Jenkinsfile.txt index b46b9846..eae869a8 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@6.9.2, retriever=null}) + uploadTestResults.library({identifier=jenkins@7.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/data/opensearch-1.3.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 29) diff --git a/tests/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile.txt b/tests/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile.txt index 83c2e9c1..303b25e9 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@6.9.2, retriever=null}) + uploadMinSnapshotsToS3.library({identifier=jenkins@7.0.0, retriever=null}) uploadMinSnapshotsToS3.readYaml({file=tests/data/opensearch-1.3.0.yml}) InputManifest.asBoolean() uploadMinSnapshotsToS3.echo(Retreving build manifest from: tests/data/tar/builds/opensearch/manifest.yml) diff --git a/vars/archiveAssembleUpload.groovy b/vars/archiveAssembleUpload.groovy index 16f3594e..b7c8391a 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@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) String stashName = "${args.stashName}" diff --git a/vars/assembleManifest.groovy b/vars/assembleManifest.groovy index be253c35..97a650b6 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@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) def filename = buildManifest.build.getFilename() def baseUrl = buildManifest.getArtifactRootUrlWithoutDistribution("${PUBLIC_ARTIFACT_URL}", "${JOB_NAME}", "${BUILD_NUMBER}") diff --git a/vars/assembleUpload.groovy b/vars/assembleUpload.groovy index 9766b21f..7adce38a 100644 --- a/vars/assembleUpload.groovy +++ b/vars/assembleUpload.groovy @@ -8,7 +8,7 @@ */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) assembleManifest(args) uploadArtifacts(args) diff --git a/vars/buildArchive.groovy b/vars/buildArchive.groovy index 2dbe4039..c389ccde 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) buildManifest(args) String stashName = "${args.stashName}" diff --git a/vars/buildAssembleUpload.groovy b/vars/buildAssembleUpload.groovy index e8fc746a..76a3dcd0 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) buildManifest(args) diff --git a/vars/buildDockerImage.groovy b/vars/buildDockerImage.groovy index 041e80bf..abe1527c 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def inputManifest = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) def build_version = inputManifest.build.version def build_qualifier = inputManifest.build.qualifier diff --git a/vars/buildManifest.groovy b/vars/buildManifest.groovy index ea785a1e..f87c0da6 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) def DISTRIBUTION_JOB_NAME = args.jobName ?: "${JOB_NAME}" diff --git a/vars/buildUploadManifestSHA.groovy b/vars/buildUploadManifestSHA.groovy index 748fd1c5..7b90847f 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@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def sha = getManifestSHA(args) diff --git a/vars/buildYumRepo.groovy b/vars/buildYumRepo.groovy index c02fd355..73f0785b 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@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) echo "Create yum repo metadata and repo file ${args.buildManifest}" diff --git a/vars/createReleaseTag.groovy b/vars/createReleaseTag.groovy index ae45257f..e8fe6223 100644 --- a/vars/createReleaseTag.groovy +++ b/vars/createReleaseTag.groovy @@ -8,7 +8,7 @@ */ def call(Map args = [:]) { - def lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def bundleManifestObj = lib.jenkins.BundleManifest.new(readYaml(file: args.distManifest)) def componentsName = bundleManifestObj.getNames() diff --git a/vars/createSignatureFiles.groovy b/vars/createSignatureFiles.groovy index d805d226..c20b99e7 100644 --- a/vars/createSignatureFiles.groovy +++ b/vars/createSignatureFiles.groovy @@ -8,7 +8,7 @@ */ Closure call() { - lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) return { args -> signArtifacts(args) } diff --git a/vars/createUploadTestReportManifest.groovy b/vars/createUploadTestReportManifest.groovy index 5fdb3ab0..77631e1c 100644 --- a/vars/createUploadTestReportManifest.groovy +++ b/vars/createUploadTestReportManifest.groovy @@ -19,7 +19,7 @@ */ def call(Map args = [:]) { - lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) if (!parameterCheck(args.testManifest, args.buildManifest, args.testRunID, args.testType)) return null diff --git a/vars/detectDockerAgent.groovy b/vars/detectDockerAgent.groovy index 352f7230..122aaeff 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@6.9.2", retriever: legacySCM(scm)) + def lib = library(identifier: "jenkins@7.0.0", retriever: legacySCM(scm)) String manifest = args.manifest ?: "manifests/${INPUT_MANIFEST}" def inputManifest = lib.jenkins.InputManifest.new(readYaml(file: manifest)) dockerImage = inputManifest.ci?.image?.name ?: 'opensearchstaging/ci-runner:ci-runner-centos7-v1' diff --git a/vars/detectTestDockerAgent.groovy b/vars/detectTestDockerAgent.groovy index ec3df964..4ac07ff4 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@6.9.2", retriever: legacySCM(scm)) + def lib = library(identifier: "jenkins@7.0.0", retriever: legacySCM(scm)) String manifest = args.testManifest ?: "manifests/${TEST_MANIFEST}" def testManifest = lib.jenkins.TestManifest.new(readYaml(file: manifest)) dockerImage = testManifest.ci?.image?.name ?: 'opensearchstaging/ci-runner:ci-runner-centos7-v1' diff --git a/vars/downloadBuildManifest.groovy b/vars/downloadBuildManifest.groovy index 547a8a65..a9aab019 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@6.9.2", retriever: legacySCM(scm)) + def lib = library(identifier: "jenkins@7.0.0", retriever: legacySCM(scm)) sh "mkdir -p \$(dirname \"${args.path}\")" sh "touch ${args.path}" sh "curl -sSL --retry 5 ${args.url} --output ${args.path}" diff --git a/vars/getManifestSHA.groovy b/vars/getManifestSHA.groovy index 9b85fd68..30e7a36a 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: manifestLock)) String shasRoot = inputManifestObj.getSHAsRoot(jobName) String manifestSHAPath = "${shasRoot}/${manifestSHA}.yml" diff --git a/vars/patchDockerImage.groovy b/vars/patchDockerImage.groovy index dfcce2e2..4bcb193f 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) String docker_image = "opensearchproject/${args.product}:${args.tag}" String latest_docker_image = "opensearchproject/${args.product}:latest" boolean tag_latest = false diff --git a/vars/promoteArtifacts.groovy b/vars/promoteArtifacts.groovy index 994a72e9..c98d198c 100644 --- a/vars/promoteArtifacts.groovy +++ b/vars/promoteArtifacts.groovy @@ -8,7 +8,7 @@ */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) // fileActions are a closure that accepts a String, filepath with return type void List fileActions = args.fileActions ?: [] diff --git a/vars/promoteRepos.groovy b/vars/promoteRepos.groovy index 62d4f256..c7f09a3a 100644 --- a/vars/promoteRepos.groovy +++ b/vars/promoteRepos.groovy @@ -17,7 +17,7 @@ */ void call(Map args = [:]) { - def lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) String manifest = args.manifest ?: "manifests/${INPUT_MANIFEST}" def inputManifest = lib.jenkins.InputManifest.new(readYaml(file: manifest)) diff --git a/vars/publishGradleCheckTestResults.groovy b/vars/publishGradleCheckTestResults.groovy index 1b773482..3a71c4e3 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def finalJsonDoc = "" def buildNumber = currentBuild.number def buildDescription = currentBuild.description diff --git a/vars/publishToArtifactsProdBucket.groovy b/vars/publishToArtifactsProdBucket.groovy index 2698caa1..27f47db2 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@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) println('Signing the artifacts') if (args.signingPlatform == 'windows' || args.signingPlatform == 'mac' || args.signingPlatform == 'jar_signer') { signArtifacts( diff --git a/vars/publishToMaven.groovy b/vars/publishToMaven.groovy index ab20d24d..5894f799 100644 --- a/vars/publishToMaven.groovy +++ b/vars/publishToMaven.groovy @@ -15,7 +15,7 @@ */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) loadCustomScript(scriptPath: 'publish/stage-maven-release.sh', scriptName: 'stage-maven-release.sh') def autoPublish = args.autoPublish ?: false diff --git a/vars/publishToNuget.groovy b/vars/publishToNuget.groovy index b440d7a6..af70253c 100644 --- a/vars/publishToNuget.groovy +++ b/vars/publishToNuget.groovy @@ -17,7 +17,7 @@ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) checkout([$class: 'GitSCM', branches: [[name: "${args.tag}" ]], userRemoteConfigs: [[url: "${args.repository}" ]]]) sh """ diff --git a/vars/publishToPyPi.groovy b/vars/publishToPyPi.groovy index fea2f6b3..463ef0af 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@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) String releaseArtifactsDir = args.artifactsPath ? "${WORKSPACE}/${args.artifactsPath}" : "${WORKSPACE}/dist" signArtifacts( diff --git a/vars/retrievePreviousBuild.groovy b/vars/retrievePreviousBuild.groovy index 7150986f..1a6a7f03 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: args.inputManifest)) def DISTRIBUTION_JOB_NAME = args.jobName ?: "${JOB_NAME}" diff --git a/vars/rpmDashboardsDistValidation.groovy b/vars/rpmDashboardsDistValidation.groovy index bbc99e43..3fd93365 100644 --- a/vars/rpmDashboardsDistValidation.groovy +++ b/vars/rpmDashboardsDistValidation.groovy @@ -14,7 +14,7 @@ */ def call(Map args = [:]) { - def lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def BundleManifestObj = lib.jenkins.BundleManifest.new(readYaml(file: args.bundleManifest)) def distFile = args.rpmDistribution def name = BundleManifestObj.build.getFilename() //opensearch-dashboards diff --git a/vars/rpmDistValidation.groovy b/vars/rpmDistValidation.groovy index 49daff57..7c3cc0b6 100644 --- a/vars/rpmDistValidation.groovy +++ b/vars/rpmDistValidation.groovy @@ -13,7 +13,7 @@ */ def call(Map args = [:]) { - def lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def bundleManifestURL = args.bundleManifestURL sh ("curl -sL $bundleManifestURL -o $WORKSPACE/manifest.yml") def bundleManifest = "$WORKSPACE/manifest.yml" diff --git a/vars/rpmOpenSearchDistValidation.groovy b/vars/rpmOpenSearchDistValidation.groovy index 3dbd8bf6..36db923d 100644 --- a/vars/rpmOpenSearchDistValidation.groovy +++ b/vars/rpmOpenSearchDistValidation.groovy @@ -14,7 +14,7 @@ */ def call(Map args = [:]) { - def lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def BundleManifestObj = lib.jenkins.BundleManifest.new(readYaml(file: args.bundleManifest)) def distFile = args.rpmDistribution def name = BundleManifestObj.build.getFilename() //opensearch diff --git a/vars/runBenchmarkTestScript.groovy b/vars/runBenchmarkTestScript.groovy index 5042b21c..2f011a55 100644 --- a/vars/runBenchmarkTestScript.groovy +++ b/vars/runBenchmarkTestScript.groovy @@ -48,7 +48,7 @@ */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def buildManifest = null if (!isNullOrEmpty(args.bundleManifest as String)){ diff --git a/vars/runBwcTestScript.groovy b/vars/runBwcTestScript.groovy index 75d13da1..171fa15b 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@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) String artifactRootUrl = buildManifest.getArtifactRootUrl(jobName, args.buildId) echo "Artifact root URL: ${artifactRootUrl}" diff --git a/vars/runGradleCheck.groovy b/vars/runGradleCheck.groovy index 449ac0c4..47eef71b 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def git_repo_url = args.gitRepoUrl ?: 'null' def git_reference = args.gitReference ?: 'null' def bwc_checkout_align = args.bwcCheckoutAlign ?: 'false' diff --git a/vars/runIntegTestScript.groovy b/vars/runIntegTestScript.groovy index a71e43f3..b782ef43 100644 --- a/vars/runIntegTestScript.groovy +++ b/vars/runIntegTestScript.groovy @@ -7,7 +7,7 @@ * compatible open source license. */ void call(Map args = [:]) { - lib = library(identifier: 'jenkins@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) String jobName = args.jobName ?: 'distribution-build-opensearch' def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) diff --git a/vars/runPerfTestScript.groovy b/vars/runPerfTestScript.groovy index 30b41664..7c1fd948 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@6.9.2', retriever: legacySCM(scm)) + lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.bundleManifest)) install_opensearch_infra_dependencies() diff --git a/vars/uploadArtifacts.groovy b/vars/uploadArtifacts.groovy index b79f569f..357fb7bb 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifest)) def minArtifactPath = buildManifest.getMinArtifact() diff --git a/vars/uploadMinSnapshotsToS3.groovy b/vars/uploadMinSnapshotsToS3.groovy index 45160130..3d0c2a95 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) List fileActions = args.fileActions ?: [] String manifest = args.manifest ?: "manifests/${INPUT_MANIFEST}" String distribution_arg = args.distribution ?: 'None' diff --git a/vars/uploadTestResults.groovy b/vars/uploadTestResults.groovy index c9b0fc58..c244c000 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@6.9.2', retriever: legacySCM(scm)) + def lib = library(identifier: 'jenkins@7.0.0', retriever: legacySCM(scm)) def buildManifest = lib.jenkins.BuildManifest.new(readYaml(file: args.buildManifestFileName))