diff --git a/jenkins/release-branch/release-branch.jenkinsfile b/jenkins/release-workflows/release-branch.jenkinsfile similarity index 100% rename from jenkins/release-branch/release-branch.jenkinsfile rename to jenkins/release-workflows/release-branch.jenkinsfile diff --git a/jenkins/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile b/jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile similarity index 100% rename from jenkins/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile rename to jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile diff --git a/jenkins/release-notes-check/release-notes-check.jenkinsfile b/jenkins/release-workflows/release-notes-check.jenkinsfile similarity index 100% rename from jenkins/release-notes-check/release-notes-check.jenkinsfile rename to jenkins/release-workflows/release-notes-check.jenkinsfile diff --git a/jenkins/promotion/release-promotion.jenkinsfile b/jenkins/release-workflows/release-promotion.jenkinsfile similarity index 100% rename from jenkins/promotion/release-promotion.jenkinsfile rename to jenkins/release-workflows/release-promotion.jenkinsfile diff --git a/jenkins/release-tag/release-tag.jenkinsfile b/jenkins/release-workflows/release-tag.jenkinsfile similarity index 100% rename from jenkins/release-tag/release-tag.jenkinsfile rename to jenkins/release-workflows/release-tag.jenkinsfile diff --git a/tests/jenkins/TestOpenSearchReleasePromotionTest.groovy b/tests/jenkins/TestOpenSearchReleasePromotionTest.groovy index 527984225d..bf59a72772 100644 --- a/tests/jenkins/TestOpenSearchReleasePromotionTest.groovy +++ b/tests/jenkins/TestOpenSearchReleasePromotionTest.groovy @@ -44,8 +44,8 @@ class TestOpenSearchReleasePromotionTest extends BuildPipelineTest { @Test void shouldExecuteWithoutErrors() { - super.testPipeline('jenkins/promotion/release-promotion.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/promotion/release-promotion.jenkinsfile') + super.testPipeline('jenkins/release-workflows/release-promotion.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/release-promotion.jenkinsfile') def callStack = helper.getCallStack() // Parameters Check @@ -202,7 +202,7 @@ class TestOpenSearchReleasePromotionTest extends BuildPipelineTest { @Test void verifyCfnCommands() { - runScript('jenkins/promotion/release-promotion.jenkinsfile') + runScript('jenkins/release-workflows/release-promotion.jenkinsfile') def callStack = helper.getCallStack() assertCallStack().contains( 'release-promotion.cfInvalidate({distribution=CLOUDFRONT_DISTRIBUTION_ID, paths=[/releases/bundle/opensearch/1.x/*, /releases/bundle/opensearch-dashboards/1.x/*], waitForCompletion=true})' diff --git a/tests/jenkins/TestReleaseBranch.groovy b/tests/jenkins/TestReleaseBranch.groovy index 5ac22573ff..36e622da9c 100644 --- a/tests/jenkins/TestReleaseBranch.groovy +++ b/tests/jenkins/TestReleaseBranch.groovy @@ -61,8 +61,8 @@ class TestReleaseBranch extends BuildPipelineTest { @Test public void testBranchCreation() { - super.testPipeline('jenkins/release-branch/release-branch.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/release-branch/release-branch-buildmanifest.jenkinsfile') + super.testPipeline('jenkins/release-workflows/release-branch.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/release-branch-buildmanifest.jenkinsfile') } @Test @@ -70,7 +70,7 @@ class TestReleaseBranch extends BuildPipelineTest { helper.addShMock("""git ls-remote https://github.com/opensearch-project/OpenSearch.git 2.11""") { script -> return [stdout: "ref/2.11", exitValue: 0] } - runScript('jenkins/release-branch/release-branch.jenkinsfile') + runScript('jenkins/release-workflows/release-branch.jenkinsfile') assertThat(getCommandExecutions('echo', ''), hasItem('Branch already exists, skipping branch creation for the repo https://github.com/opensearch-project/OpenSearch.git')) } @@ -94,15 +94,15 @@ class TestReleaseBranch extends BuildPipelineTest { return [stdout: "", exitValue: 0] } - super.testPipeline('jenkins/release-branch/release-branch.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/release-branch/release-branch-inputmanifest.jenkinsfile') + super.testPipeline('jenkins/release-workflows/release-branch.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/release-branch-inputmanifest.jenkinsfile') } @Test public void testVerifyParameters() { binding.setVariable('MANIFEST_FILE', "") binding.setVariable('TARGET_BRANCH', "") - runScript('jenkins/release-branch/release-branch.jenkinsfile') + runScript('jenkins/release-workflows/release-branch.jenkinsfile') assertThat(getCommandExecutions('error', ''), hasItem('Required parameters are missing. Please provide the mandatory arguments MANIFEST_FILE, SOURCE_BRANCH and TARGET_BRANCH')) } diff --git a/tests/jenkins/TestReleaseManifestCommitLock.groovy b/tests/jenkins/TestReleaseManifestCommitLock.groovy index 3a1214571c..c34a900350 100644 --- a/tests/jenkins/TestReleaseManifestCommitLock.groovy +++ b/tests/jenkins/TestReleaseManifestCommitLock.groovy @@ -49,8 +49,8 @@ class TestReleaseManifestCommitLock extends BuildPipelineTest { @Test public void testManifestCommitLock_matchBuildManifest() { addParam('MANIFEST_LOCK_ACTION', 'MATCH_BUILD_MANIFEST') - super.testPipeline('jenkins/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_matchBuildManifest') + super.testPipeline('jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_matchBuildManifest') def callStack = helper.getCallStack() assertCallStack().contains('stage(Parameters Check, groovy.lang.Closure)') assertCallStack().contains('stage(MATCH_BUILD_MANIFEST, groovy.lang.Closure)') @@ -59,8 +59,8 @@ class TestReleaseManifestCommitLock extends BuildPipelineTest { @Test public void testManifestCommitLock_updateToRecentCommits() { addParam('MANIFEST_LOCK_ACTION', 'UPDATE_TO_RECENT_COMMITS') - super.testPipeline('jenkins/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_updateToRecentCommits') + super.testPipeline('jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_updateToRecentCommits') def callStack = helper.getCallStack() assertCallStack().contains('stage(Parameters Check, groovy.lang.Closure)') assertCallStack().contains('stage(UPDATE_TO_RECENT_COMMITS, groovy.lang.Closure)') @@ -69,8 +69,8 @@ class TestReleaseManifestCommitLock extends BuildPipelineTest { @Test public void testManifestCommitLock_updateToTags() { addParam('MANIFEST_LOCK_ACTION', 'UPDATE_TO_TAGS') - super.testPipeline('jenkins/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_updateToTags') + super.testPipeline('jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_updateToTags') def callStack = helper.getCallStack() assertCallStack().contains('stage(Parameters Check, groovy.lang.Closure)') assertCallStack().contains('stage(UPDATE_TO_TAGS, groovy.lang.Closure)') @@ -81,8 +81,8 @@ class TestReleaseManifestCommitLock extends BuildPipelineTest { @Test public void testManifestCommitLock_createPullRequest() { - super.testPipeline('jenkins/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_createPullRequest') + super.testPipeline('jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_createPullRequest') assertThat(getShellCommands('git'), hasItem("\n git remote set-url origin \"https://opensearch-ci:GITHUB_TOKEN@github.com/opensearch-project/opensearch-build\"\n git config user.email \"opensearch-infra@amazon.com\"\n git config user.name \"opensearch-ci\"\n git checkout -b manifest-lock\n ")) assertThat(getShellCommands('git'), hasItem("\n git status --porcelain | grep '^ M' | cut -d \" \" -f3 | xargs git add\n git commit -sm \"Manifest Commit Lock for Release 2.0.0\"\n git push origin manifest-lock --force\n gh pr create --title '[2.0.0] Manifest Commit Lock with action MATCH_BUILD_MANIFEST' --body 'Manifest Commit Lock for Release 2.0.0 ' -H manifest-lock -B main\n ")) } @@ -93,8 +93,8 @@ class TestReleaseManifestCommitLock extends BuildPipelineTest { helper.addShMock("""git ls-remote https://github.com/opensearch-project/OpenSearch.git 2.0""") { script -> return [stdout: "", exitValue: 0] } - super.testPipeline('jenkins/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testUpdateToRecentCommit') + super.testPipeline('jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/testUpdateToRecentCommit') assertCallStack().contains('release-manifest-commit-lock.readYaml({file=manifests/2.0.0/opensearch-dashboards-2.0.0.yml})') assertCallStack().contains('release-manifest-commit-lock.readYaml({file=manifests/2.0.0/opensearch-dashboards-2.0.0.yml})') assertCallStack().contains('release-manifest-commit-lock.sh({script=git ls-remote https://github.com/opensearch-project/OpenSearch.git 2.0 | cut -f 1, returnStdout=true})') @@ -110,8 +110,8 @@ class TestReleaseManifestCommitLock extends BuildPipelineTest { helper.registerAllowedMethod('readYaml', [Map.class], { args -> return new Yaml().load((buildManifest as File).text) }) - super.testPipeline('jenkins/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testMatchBuildManifest') + super.testPipeline('jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/testMatchBuildManifest') assertThat(getShellCommands('curl'), hasItem("{script=curl -sSL https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.0.0/3813/linux/x64/tar/dist/opensearch/manifest.yml, returnStdout=true}")) assertCallStack().contains("release-manifest-commit-lock.writeYaml({file=manifests/2.0.0/opensearch-dashboards-2.0.0.yml, data={schema-version=1.1, build={name=OpenSearch, version=2.0.0, platform=linux, architecture=x64, distribution=tar, location=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.0.0/3813/linux/x64/tar/dist/opensearch/opensearch-2.0.0-linux-x64.tar.gz, id=3813}, components=[{name=OpenSearch, repository=https://github.com/opensearch-project/OpenSearch.git, ref=bae3b4e4178c20ac24fece8e82099abe3b2630d0, commit_id=bae3b4e4178c20ac24fece8e82099abe3b2630d0, location=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.0.0/3813/linux/x64/tar/builds/opensearch/dist/opensearch-min-2.0.0-linux-x64.tar.gz}, {name=common-utils, repository=https://github.com/opensearch-project/common-utils.git, ref=2.0, commit_id=e59ea173af31fd468ce443fc4022649cad306e36}, {name=job-scheduler, repository=https://github.com/opensearch-project/job-scheduler.git, ref=2.0, commit_id=b5b21097894ecec7a78da622ee96763908b32898, location=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.0.0/3813/linux/x64/tar/builds/opensearch/plugins/opensearch-job-scheduler-2.0.0.0.zip}, {name=ml-commons, repository=https://github.com/opensearch-project/ml-commons.git, ref=2.0, commit_id=5c6e4bd4d996cf2d0a9726e1537ef98822d1795f, location=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.0.0/3813/linux/x64/tar/builds/opensearch/plugins/opensearch-ml-2.0.0.0.zip}]}, overwrite=true})") assertCallStack().contains("release-manifest-commit-lock.writeYaml(") @@ -125,8 +125,8 @@ class TestReleaseManifestCommitLock extends BuildPipelineTest { helper.registerAllowedMethod('readYaml', [Map.class], { args -> return new Yaml().load((buildManifest as File).text) }) - super.testPipeline('jenkins/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile', - 'tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testUpdateToRecentCommit_excludeFTRepo') + super.testPipeline('jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile', + 'tests/jenkins/jenkinsjob-regression-files/release-workflows/testUpdateToRecentCommit_excludeFTRepo') // The test asserts that FT repo uses the release branch assertCallStack().contains("release-manifest-commit-lock.writeYaml({file=manifests/2.0.0/opensearch-dashboards-2.0.0.yml, data={ci={image={name=opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211028}}, build={name=OpenSearch Dashboards, version=3.0.0}, components=[{name=OpenSearch-Dashboards, ref=tags/3.0.0, repository=https://github.com/opensearch-project/OpenSearch-Dashboards.git}, {name=functionalTestDashboards, repository=https://github.com/opensearch-project/opensearch-dashboards-functional-test.git, ref=3.0}, {name=observabilityDashboards, ref=tags/3.0.0, repository=https://github.com/opensearch-project/dashboards-observability.git}, {name=indexManagementDashboards, ref=tags/3.0.0, repository=https://github.com/opensearch-project/index-management-dashboards-plugin}, {name=ganttChartDashboards, ref=tags/3.0.0, repository=https://github.com/opensearch-project/dashboards-visualizations.git}, {name=reportsDashboards, ref=tags/3.0.0, repository=https://github.com/opensearch-project/dashboards-reports.git}, {name=queryWorkbenchDashboards, ref=tags/3.0.0, repository=https://github.com/opensearch-project/sql.git}, {name=anomalyDetectionDashboards, ref=tags/3.0.0, repository=https://github.com/opensearch-project/anomaly-detection-dashboards-plugin}], schema-version=1.0}, overwrite=true})") } diff --git a/tests/jenkins/TestReleaseNotesCheckAndCompile.groovy b/tests/jenkins/TestReleaseNotesCheckAndCompile.groovy index 08feef04c7..1fcf08bd02 100644 --- a/tests/jenkins/TestReleaseNotesCheckAndCompile.groovy +++ b/tests/jenkins/TestReleaseNotesCheckAndCompile.groovy @@ -50,8 +50,8 @@ class TestReleaseNotesCheckAndCompile extends BuildPipelineTest { addParam('GIT_ISSUE_NUMBER', gitIssueNumber) addParam('COMMENT_UNIQUE_ID', commentUniqueID) - super.testPipeline("jenkins/release-notes-check/release-notes-check.jenkinsfile", - "tests/jenkins/jenkinsjob-regression-files/release-notes-check/release-notes-check.jenkinsfile") + super.testPipeline("jenkins/release-workflows/release-notes-check.jenkinsfile", + "tests/jenkins/jenkinsjob-regression-files/release-workflows/release-notes-check.jenkinsfile") assertJobStatusSuccess() def callStack = helper.getCallStack() assertCallStack().contains('Check release notes, groovy.lang.Closure') @@ -66,8 +66,8 @@ class TestReleaseNotesCheckAndCompile extends BuildPipelineTest { @Test public void releaseNotesCompile() { addParam('ACTION', 'compile') - super.testPipeline("jenkins/release-notes-check/release-notes-check.jenkinsfile", - "tests/jenkins/jenkinsjob-regression-files/release-notes-check/release-notes-compile.jenkinsfile") + super.testPipeline("jenkins/release-workflows/release-notes-check.jenkinsfile", + "tests/jenkins/jenkinsjob-regression-files/release-workflows/release-notes-compile.jenkinsfile") assertJobStatusSuccess() def callStack = helper.getCallStack() assertCallStack().contains('Skipping stage Check release notes') diff --git a/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile.txt deleted file mode 100644 index 29a2a97233..0000000000 --- a/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/release-manifest-commit-lock.jenkinsfile.txt +++ /dev/null @@ -1,46 +0,0 @@ - release-manifest-commit-lock.run() - release-manifest-commit-lock.modernSCM({$class=GitSCMSource, remote=https://github.com/opensearch-project/opensearch-build-libraries.git}) - release-manifest-commit-lock.library({identifier=jenkins@6.4.0, retriever=null}) - release-manifest-commit-lock.pipeline(groovy.lang.Closure) - release-manifest-commit-lock.timeout({time=2, unit=HOURS}) - release-manifest-commit-lock.echo(Executing on agent [docker:[alwaysPull:true, args:, containerPerStageRoot:false, label:Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host, image:opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3, reuseNode:false, registryUrl:https://public.ecr.aws/, stages:[:]]]) - release-manifest-commit-lock.stage(Parameters Check, groovy.lang.Closure) - release-manifest-commit-lock.script(groovy.lang.Closure) - release-manifest-commit-lock.echo(Skipping stage Match Build Manifest) - release-manifest-commit-lock.stage(Update to Recent Commits, groovy.lang.Closure) - release-manifest-commit-lock.script(groovy.lang.Closure) - release-manifest-commit-lock.readYaml({file=manifests/2.0.0/opensearch-2.0.0.yml}) - release-manifest-commit-lock.sh({script=git ls-remote https://github.com/opensearch-project/OpenSearch.git 2.0 | cut -f 1, returnStdout=true}) - release-manifest-commit-lock.writeYaml({file=manifests/2.0.0/opensearch-2.0.0.yml, data={schema-version=1.0, build={name=OpenSearch, version=2.0.0, qualifier=alpha1}, ci={image={name=opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v2, args=-e JAVA_HOME=/opt/java/openjdk-17}}, components=[{name=OpenSearch, ref=bbb -ccc, repository=https://github.com/opensearch-project/OpenSearch.git, checks=[gradle:publish, gradle:properties:version]}, {name=common-utils, repository=https://github.com/opensearch-project/common-utils.git, ref=2.0, checks=[gradle:publish, gradle:properties:version]}, {name=job-scheduler, repository=https://github.com/opensearch-project/job-scheduler.git, ref=2.0, checks=[gradle:properties:version, gradle:dependencies:opensearch.version]}]}, overwrite=true}) - release-manifest-commit-lock.sh( - yq eval -i '.' manifests/2.0.0/opensearch-2.0.0.yml - sed -i '1s/^/---\n/' manifests/2.0.0/opensearch-2.0.0.yml - ) - release-manifest-commit-lock.readYaml({file=manifests/2.0.0/opensearch-dashboards-2.0.0.yml}) - release-manifest-commit-lock.sh({script=git ls-remote https://github.com/opensearch-project/OpenSearch.git 2.0 | cut -f 1, returnStdout=true}) - release-manifest-commit-lock.writeYaml({file=manifests/2.0.0/opensearch-dashboards-2.0.0.yml, data={schema-version=1.0, build={name=OpenSearch, version=2.0.0, qualifier=alpha1}, ci={image={name=opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v2, args=-e JAVA_HOME=/opt/java/openjdk-17}}, components=[{name=OpenSearch, ref=bbb -ccc, repository=https://github.com/opensearch-project/OpenSearch.git, checks=[gradle:publish, gradle:properties:version]}, {name=common-utils, repository=https://github.com/opensearch-project/common-utils.git, ref=2.0, checks=[gradle:publish, gradle:properties:version]}, {name=job-scheduler, repository=https://github.com/opensearch-project/job-scheduler.git, ref=2.0, checks=[gradle:properties:version, gradle:dependencies:opensearch.version]}]}, overwrite=true}) - release-manifest-commit-lock.sh( - yq eval -i '.' manifests/2.0.0/opensearch-dashboards-2.0.0.yml - sed -i '1s/^/---\n/' manifests/2.0.0/opensearch-dashboards-2.0.0.yml - ) - release-manifest-commit-lock.stage(Create Pull Request, groovy.lang.Closure) - release-manifest-commit-lock.script(groovy.lang.Closure) - release-manifest-commit-lock.usernamePassword({credentialsId=jenkins-github-bot-token, passwordVariable=GITHUB_TOKEN, usernameVariable=GITHUB_USER}) - release-manifest-commit-lock.withCredentials([[GITHUB_USER, GITHUB_TOKEN]], groovy.lang.Closure) - release-manifest-commit-lock.sh( - git remote set-url origin https://opensearch-ci:GITHUB_TOKEN@github.com/opensearch-project/opensearch-build - git config user.email "opensearch-infra@amazon.com" - git config user.name "opensearch-ci" - git checkout -b manifest-lock - ) - release-manifest-commit-lock.sh({returnStdout=true, script=git status --porcelain}) - release-manifest-commit-lock.sh( - git add . && git commit -sm "Manifest Commit Lock" - git push origin manifest-lock --force - gh pr create --title '[2.0.0] Manifest Commit Lock, Update to Recent Commits' --body 'Manifest Commit Lock for Release 2.0.0 ' -H manifest-lock -B main - ) - release-manifest-commit-lock.script(groovy.lang.Closure) - release-manifest-commit-lock.postCleanup() - postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) diff --git a/tests/jenkins/jenkinsjob-regression-files/release-tag/release-tag-dashboards.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/release-tag/release-tag-dashboards.jenkinsfile.txt deleted file mode 100644 index 1372ea83c8..0000000000 --- a/tests/jenkins/jenkinsjob-regression-files/release-tag/release-tag-dashboards.jenkinsfile.txt +++ /dev/null @@ -1,129 +0,0 @@ - release-tag.run() - release-tag.modernSCM({$class=GitSCMSource, remote=https://github.com/opensearch-project/opensearch-build-libraries.git}) - release-tag.library({identifier=jenkins@1.0.4, retriever=null}) - release-tag.pipeline(groovy.lang.Closure) - release-tag.timeout({time=2, unit=HOURS}) - release-tag.echo(Executing on agent [docker:[image:opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211130, reuseNode:false, stages:[:], args:, alwaysPull:true, containerPerStageRoot:false, label:Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host]]) - release-tag.stage(Create Release Tag, groovy.lang.Closure) - release-tag.script(groovy.lang.Closure) - release-tag.sh(curl -SLO https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.0.0-rc1/opensearch-dashboards-2.0.0-rc1-linux-x64.tar.gz && tar -xf opensearch-dashboards-2.0.0-rc1-linux-x64.tar.gz opensearch-dashboards-2.0.0-rc1/manifest.yml) - release-tag.echo(The release distribution manifest is downloaded to tests/jenkins/data/opensearch-dashboards-bundle-2.0.0-rc1.yml) - release-tag.createReleaseTag({distManifest=tests/jenkins/data/opensearch-dashboards-bundle-2.0.0-rc1.yml, tagVersion=2.0.0-rc1}) - createReleaseTag.legacySCM(groovy.lang.Closure) - createReleaseTag.library({identifier=jenkins@main, retriever=null}) - createReleaseTag.readYaml({file=tests/jenkins/data/opensearch-dashboards-bundle-2.0.0-rc1.yml}) - BundleManifest.asBoolean() - BundleManifest.getNames() - createReleaseTag.echo(Creating 2.0.0-rc1 release tag for 11 components in the manifest) - createReleaseTag.usernamePassword({credentialsId=dummy_token_name, usernameVariable=GITHUB_USER, passwordVariable=GITHUB_TOKEN}) - createReleaseTag.withCredentials([[GITHUB_USER, GITHUB_TOKEN]], groovy.lang.Closure) - BundleManifest.getCommitId(ganttChartDashboards) - BundleManifest.getRepo(ganttChartDashboards) - createReleaseTag.echo(Tagging ganttChartDashboards at 69c54344eebb48d56deca823732954c27a10211c ...) - createReleaseTag.dir(ganttChartDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=69c54344eebb48d56deca823732954c27a10211c}], userRemoteConfigs=[{url=https://github.com/opensearch-project/dashboards-visualizations.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/dashboards-visualizations.git 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Tag 2.0.0.0-rc1 has been created with identical commit ID. Skipping creating new tag for ganttChartDashboards.) - BundleManifest.getCommitId(indexManagementDashboards) - BundleManifest.getRepo(indexManagementDashboards) - createReleaseTag.echo(Tagging indexManagementDashboards at a39d9d307e9fbbaf6f23aefe794aa23022a68fa0 ...) - createReleaseTag.dir(indexManagementDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=a39d9d307e9fbbaf6f23aefe794aa23022a68fa0}], userRemoteConfigs=[{url=https://github.com/opensearch-project/index-management-dashboards-plugin.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/index-management-dashboards-plugin.git 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0.0-rc1 tag for indexManagementDashboards) - createReleaseTag.sh(git tag 2.0.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/index-management-dashboards-plugin.git 2.0.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/index-management-dashboards-plugin.git 2.0.0.0-rc1) - BundleManifest.getCommitId(anomalyDetectionDashboards) - BundleManifest.getRepo(anomalyDetectionDashboards) - createReleaseTag.echo(Tagging anomalyDetectionDashboards at 3324c01f66ec9919cc6d69420c37f5687312f9c4 ...) - createReleaseTag.dir(anomalyDetectionDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=3324c01f66ec9919cc6d69420c37f5687312f9c4}], userRemoteConfigs=[{url=https://github.com/opensearch-project/anomaly-detection-dashboards-plugin}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/anomaly-detection-dashboards-plugin 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0.0-rc1 tag for anomalyDetectionDashboards) - createReleaseTag.sh(git tag 2.0.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/anomaly-detection-dashboards-plugin 2.0.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/anomaly-detection-dashboards-plugin 2.0.0.0-rc1) - BundleManifest.getCommitId(OpenSearch-Dashboards) - BundleManifest.getRepo(OpenSearch-Dashboards) - createReleaseTag.echo(Tagging OpenSearch-Dashboards at 23ee797c0542271a36746e0beea33833cd7396ba ...) - createReleaseTag.dir(OpenSearch-Dashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=23ee797c0542271a36746e0beea33833cd7396ba}], userRemoteConfigs=[{url=https://github.com/opensearch-project/OpenSearch-Dashboards.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/OpenSearch-Dashboards.git 2.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0-rc1 tag for OpenSearch-Dashboards) - createReleaseTag.sh(git tag 2.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/OpenSearch-Dashboards.git 2.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/OpenSearch-Dashboards.git 2.0.0-rc1) - BundleManifest.getCommitId(notificationsDashboards) - BundleManifest.getRepo(notificationsDashboards) - createReleaseTag.echo(Tagging notificationsDashboards at eb3af31759668a94727950d081e8a3a161f22918 ...) - createReleaseTag.dir(notificationsDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=eb3af31759668a94727950d081e8a3a161f22918}], userRemoteConfigs=[{url=https://github.com/opensearch-project/notifications.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/notifications.git 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0.0-rc1 tag for notificationsDashboards) - createReleaseTag.sh(git tag 2.0.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/notifications.git 2.0.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/notifications.git 2.0.0.0-rc1) - BundleManifest.getCommitId(securityDashboards) - BundleManifest.getRepo(securityDashboards) - createReleaseTag.echo(Tagging securityDashboards at 7420eb2b5115ad29c40a49de9b5acb42dd26bdc7 ...) - createReleaseTag.dir(securityDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=7420eb2b5115ad29c40a49de9b5acb42dd26bdc7}], userRemoteConfigs=[{url=https://github.com/opensearch-project/security-dashboards-plugin.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/security-dashboards-plugin.git 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0.0-rc1 tag for securityDashboards) - createReleaseTag.sh(git tag 2.0.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/security-dashboards-plugin.git 2.0.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/security-dashboards-plugin.git 2.0.0.0-rc1) - BundleManifest.getCommitId(functionalTestDashboards) - BundleManifest.getRepo(functionalTestDashboards) - createReleaseTag.echo(Tagging functionalTestDashboards at ec2da5c44634f40dc97c3fdac4e85ff7139091b3 ...) - createReleaseTag.dir(functionalTestDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=ec2da5c44634f40dc97c3fdac4e85ff7139091b3}], userRemoteConfigs=[{url=https://github.com/opensearch-project/opensearch-dashboards-functional-test.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/opensearch-dashboards-functional-test.git 2.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0-rc1 tag for functionalTestDashboards) - createReleaseTag.sh(git tag 2.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/opensearch-dashboards-functional-test.git 2.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/opensearch-dashboards-functional-test.git 2.0.0-rc1) - BundleManifest.getCommitId(alertingDashboards) - BundleManifest.getRepo(alertingDashboards) - createReleaseTag.echo(Tagging alertingDashboards at de11dd89cbdd431f5073901a74907125f1133baf ...) - createReleaseTag.dir(alertingDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=de11dd89cbdd431f5073901a74907125f1133baf}], userRemoteConfigs=[{url=https://github.com/opensearch-project/alerting-dashboards-plugin.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/alerting-dashboards-plugin.git 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0.0-rc1 tag for alertingDashboards) - createReleaseTag.sh(git tag 2.0.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/alerting-dashboards-plugin.git 2.0.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/alerting-dashboards-plugin.git 2.0.0.0-rc1) - BundleManifest.getCommitId(queryWorkbenchDashboards) - BundleManifest.getRepo(queryWorkbenchDashboards) - createReleaseTag.echo(Tagging queryWorkbenchDashboards at eb65d2d956872cb13c7cca340fff679468b86074 ...) - createReleaseTag.dir(queryWorkbenchDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=eb65d2d956872cb13c7cca340fff679468b86074}], userRemoteConfigs=[{url=https://github.com/opensearch-project/sql.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/sql.git 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0.0-rc1 tag for queryWorkbenchDashboards) - createReleaseTag.sh(git tag 2.0.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/sql.git 2.0.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/sql.git 2.0.0.0-rc1) - BundleManifest.getCommitId(reportsDashboards) - BundleManifest.getRepo(reportsDashboards) - createReleaseTag.echo(Tagging reportsDashboards at 478ea41b5d962bcf40964ffc7e3f1131f7e1fc34 ...) - createReleaseTag.dir(reportsDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=478ea41b5d962bcf40964ffc7e3f1131f7e1fc34}], userRemoteConfigs=[{url=https://github.com/opensearch-project/dashboards-reports.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/dashboards-reports.git 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0.0-rc1 tag for reportsDashboards) - createReleaseTag.sh(git tag 2.0.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/dashboards-reports.git 2.0.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/dashboards-reports.git 2.0.0.0-rc1) - BundleManifest.getCommitId(observabilityDashboards) - BundleManifest.getRepo(observabilityDashboards) - createReleaseTag.echo(Tagging observabilityDashboards at 52ae188b9a38e96f1d666f51e56ed92998c1d745 ...) - createReleaseTag.dir(observabilityDashboards, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=52ae188b9a38e96f1d666f51e56ed92998c1d745}], userRemoteConfigs=[{url=https://github.com/opensearch-project/observability.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/observability.git 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 2.0.0.0-rc1 tag for observabilityDashboards) - createReleaseTag.sh(git tag 2.0.0.0-rc1) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/observability.git 2.0.0.0-rc1, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/observability.git 2.0.0.0-rc1) - release-tag.script(groovy.lang.Closure) - release-tag.postCleanup() - postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) diff --git a/tests/jenkins/jenkinsjob-regression-files/release-tag/release-tag.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/release-tag/release-tag.jenkinsfile.txt deleted file mode 100644 index 0fb2ffad7d..0000000000 --- a/tests/jenkins/jenkinsjob-regression-files/release-tag/release-tag.jenkinsfile.txt +++ /dev/null @@ -1,169 +0,0 @@ - release-tag.run() - release-tag.modernSCM({$class=GitSCMSource, remote=https://github.com/opensearch-project/opensearch-build-libraries.git}) - release-tag.library({identifier=jenkins@1.0.4, retriever=null}) - release-tag.pipeline(groovy.lang.Closure) - release-tag.timeout({time=2, unit=HOURS}) - release-tag.echo(Executing on agent [docker:[image:opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211130, reuseNode:false, stages:[:], args:, alwaysPull:true, containerPerStageRoot:false, label:Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host]]) - release-tag.stage(Create Release Tag, groovy.lang.Closure) - release-tag.script(groovy.lang.Closure) - release-tag.sh(curl -SLO https://artifacts.opensearch.org/releases/bundle/opensearch/1.1.0/opensearch-1.1.0-linux-x64.tar.gz && tar -xf opensearch-1.1.0-linux-x64.tar.gz opensearch-1.1.0/manifest.yml) - release-tag.echo(The release distribution manifest is downloaded to tests/data/opensearch-build-1.1.0.yml) - release-tag.createReleaseTag({distManifest=tests/data/opensearch-build-1.1.0.yml, tagVersion=1.1.0}) - createReleaseTag.legacySCM(groovy.lang.Closure) - createReleaseTag.library({identifier=jenkins@main, retriever=null}) - createReleaseTag.readYaml({file=tests/data/opensearch-build-1.1.0.yml}) - BundleManifest.asBoolean() - BundleManifest.getNames() - createReleaseTag.echo(Creating 1.1.0 release tag for 15 components in the manifest) - createReleaseTag.usernamePassword({credentialsId=dummy_token_name, usernameVariable=GITHUB_USER, passwordVariable=GITHUB_TOKEN}) - createReleaseTag.withCredentials([[GITHUB_USER, GITHUB_TOKEN]], groovy.lang.Closure) - BundleManifest.getCommitId(index-management) - BundleManifest.getRepo(index-management) - createReleaseTag.echo(Tagging index-management at 7897e9ae9cd5b49535e6a8bbf4c2f73cb458af24 ...) - createReleaseTag.dir(index-management, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=7897e9ae9cd5b49535e6a8bbf4c2f73cb458af24}], userRemoteConfigs=[{url=https://github.com/opensearch-project/index-management.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/index-management.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Tag 1.1.0.0 has been created with identical commit ID. Skipping creating new tag for index-management.) - BundleManifest.getCommitId(job-scheduler) - BundleManifest.getRepo(job-scheduler) - createReleaseTag.echo(Tagging job-scheduler at 4504dabfc67dd5628c1451e91e9a1c3c4ca71525 ...) - createReleaseTag.dir(job-scheduler, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=4504dabfc67dd5628c1451e91e9a1c3c4ca71525}], userRemoteConfigs=[{url=https://github.com/opensearch-project/job-scheduler.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/job-scheduler.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for job-scheduler) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/job-scheduler.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/job-scheduler.git 1.1.0.0) - BundleManifest.getCommitId(anomaly-detection) - BundleManifest.getRepo(anomaly-detection) - createReleaseTag.echo(Tagging anomaly-detection at bedc5b620384163abe272e913705fa23cfd3b3a3 ...) - createReleaseTag.dir(anomaly-detection, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=bedc5b620384163abe272e913705fa23cfd3b3a3}], userRemoteConfigs=[{url=https://github.com/opensearch-project/anomaly-detection.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/anomaly-detection.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for anomaly-detection) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/anomaly-detection.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/anomaly-detection.git 1.1.0.0) - BundleManifest.getCommitId(performance-analyzer) - BundleManifest.getRepo(performance-analyzer) - createReleaseTag.echo(Tagging performance-analyzer at f184f0bc39302ac38af2585c663d619048f6cffe ...) - createReleaseTag.dir(performance-analyzer, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=f184f0bc39302ac38af2585c663d619048f6cffe}], userRemoteConfigs=[{url=https://github.com/opensearch-project/performance-analyzer.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/performance-analyzer.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for performance-analyzer) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/performance-analyzer.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/performance-analyzer.git 1.1.0.0) - BundleManifest.getCommitId(common-utils) - BundleManifest.getRepo(common-utils) - createReleaseTag.echo(Tagging common-utils at 3913d7097934cbfe1fdcf919347f22a597d00b76 ...) - createReleaseTag.dir(common-utils, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=3913d7097934cbfe1fdcf919347f22a597d00b76}], userRemoteConfigs=[{url=https://github.com/opensearch-project/common-utils.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/common-utils.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for common-utils) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/common-utils.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/common-utils.git 1.1.0.0) - BundleManifest.getCommitId(asynchronous-search) - BundleManifest.getRepo(asynchronous-search) - createReleaseTag.echo(Tagging asynchronous-search at aa344cc1ecdf9ad21d6cb8d9e368361e6a0f3132 ...) - createReleaseTag.dir(asynchronous-search, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=aa344cc1ecdf9ad21d6cb8d9e368361e6a0f3132}], userRemoteConfigs=[{url=https://github.com/opensearch-project/asynchronous-search.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/asynchronous-search.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for asynchronous-search) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/asynchronous-search.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/asynchronous-search.git 1.1.0.0) - BundleManifest.getCommitId(dashboards-notebooks) - BundleManifest.getRepo(dashboards-notebooks) - createReleaseTag.echo(Tagging dashboards-notebooks at 5a996eb8ec8c92e7469cd5e5f87b237352f60f61 ...) - createReleaseTag.dir(dashboards-notebooks, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=5a996eb8ec8c92e7469cd5e5f87b237352f60f61}], userRemoteConfigs=[{url=https://github.com/opensearch-project/dashboards-notebooks.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/dashboards-notebooks.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for dashboards-notebooks) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/dashboards-notebooks.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/dashboards-notebooks.git 1.1.0.0) - BundleManifest.getCommitId(OpenSearch) - BundleManifest.getRepo(OpenSearch) - createReleaseTag.echo(Tagging OpenSearch at b7334f49d530ffd1a3f7bd0e5832b9b2a9caa583 ...) - createReleaseTag.dir(OpenSearch, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=b7334f49d530ffd1a3f7bd0e5832b9b2a9caa583}], userRemoteConfigs=[{url=https://github.com/opensearch-project/OpenSearch.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/OpenSearch.git 1.1.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0 tag for OpenSearch) - createReleaseTag.sh(git tag 1.1.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/OpenSearch.git 1.1.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/OpenSearch.git 1.1.0) - BundleManifest.getCommitId(sql) - BundleManifest.getRepo(sql) - createReleaseTag.echo(Tagging sql at d68547d585092af1e053d01e1b834259723cd304 ...) - createReleaseTag.dir(sql, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=d68547d585092af1e053d01e1b834259723cd304}], userRemoteConfigs=[{url=https://github.com/opensearch-project/sql.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/sql.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for sql) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/sql.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/sql.git 1.1.0.0) - BundleManifest.getCommitId(alerting) - BundleManifest.getRepo(alerting) - createReleaseTag.echo(Tagging alerting at 8024b8b9195f837e49e5bebd7f4a31dfc333eb4d ...) - createReleaseTag.dir(alerting, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=8024b8b9195f837e49e5bebd7f4a31dfc333eb4d}], userRemoteConfigs=[{url=https://github.com/opensearch-project/alerting.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/alerting.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for alerting) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/alerting.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/alerting.git 1.1.0.0) - BundleManifest.getCommitId(security) - BundleManifest.getRepo(security) - createReleaseTag.echo(Tagging security at 534fffe0e6cf2b33b9abcbc6508e98fc2d077a3d ...) - createReleaseTag.dir(security, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=534fffe0e6cf2b33b9abcbc6508e98fc2d077a3d}], userRemoteConfigs=[{url=https://github.com/opensearch-project/security.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/security.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for security) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/security.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/security.git 1.1.0.0) - BundleManifest.getCommitId(k-NN) - BundleManifest.getRepo(k-NN) - createReleaseTag.echo(Tagging k-NN at 6a3fdcafd75e63521bcf7893ce908642e1d9fcb6 ...) - createReleaseTag.dir(k-NN, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=6a3fdcafd75e63521bcf7893ce908642e1d9fcb6}], userRemoteConfigs=[{url=https://github.com/opensearch-project/k-NN.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/k-NN.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for k-NN) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/k-NN.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/k-NN.git 1.1.0.0) - BundleManifest.getCommitId(dashboards-reports) - BundleManifest.getRepo(dashboards-reports) - createReleaseTag.echo(Tagging dashboards-reports at 622f334b0724e47f7ffd21cf7e7d521a9f6c949e ...) - createReleaseTag.dir(dashboards-reports, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=622f334b0724e47f7ffd21cf7e7d521a9f6c949e}], userRemoteConfigs=[{url=https://github.com/opensearch-project/dashboards-reports.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/dashboards-reports.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for dashboards-reports) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/dashboards-reports.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/dashboards-reports.git 1.1.0.0) - BundleManifest.getCommitId(notifications) - BundleManifest.getRepo(notifications) - createReleaseTag.echo(Tagging notifications at d0d3e485c4a850f73652a989eeec795b7347fbb6 ...) - createReleaseTag.dir(notifications, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=d0d3e485c4a850f73652a989eeec795b7347fbb6}], userRemoteConfigs=[{url=https://github.com/opensearch-project/notifications.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/notifications.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for notifications) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/notifications.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/notifications.git 1.1.0.0) - BundleManifest.getCommitId(performance-analyzer-rca) - BundleManifest.getRepo(performance-analyzer-rca) - createReleaseTag.echo(Tagging performance-analyzer-rca at 345a10fd4f4e94d6392c925ad95503ba8addd152 ...) - createReleaseTag.dir(performance-analyzer-rca, groovy.lang.Closure) - createReleaseTag.checkout({$class=GitSCM, branches=[{name=345a10fd4f4e94d6392c925ad95503ba8addd152}], userRemoteConfigs=[{url=https://github.com/opensearch-project/performance-analyzer-rca.git}]}) - createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/performance-analyzer-rca.git 1.1.0.0 | awk 'NR==1{print $1}', returnStdout=true}) - createReleaseTag.echo(Creating 1.1.0.0 tag for performance-analyzer-rca) - createReleaseTag.sh(git tag 1.1.0.0) - createReleaseTag.sh({script=git push https://GITHUB_TOKEN@github.com/opensearch-project/performance-analyzer-rca.git 1.1.0.0, returnStatus=true}) - createReleaseTag.sh(git push https://GITHUB_TOKEN@github.com/opensearch-project/performance-analyzer-rca.git 1.1.0.0) - release-tag.script(groovy.lang.Closure) - release-tag.postCleanup() - postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) diff --git a/tests/jenkins/jenkinsjob-regression-files/release-branch/release-branch-buildmanifest.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/release-branch-buildmanifest.jenkinsfile.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-branch/release-branch-buildmanifest.jenkinsfile.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/release-branch-buildmanifest.jenkinsfile.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-branch/release-branch-inputmanifest.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/release-branch-inputmanifest.jenkinsfile.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-branch/release-branch-inputmanifest.jenkinsfile.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/release-branch-inputmanifest.jenkinsfile.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-notes-check/release-notes-check.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/release-notes-check.jenkinsfile.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-notes-check/release-notes-check.jenkinsfile.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/release-notes-check.jenkinsfile.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-notes-check/release-notes-compile.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/release-notes-compile.jenkinsfile.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-notes-check/release-notes-compile.jenkinsfile.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/release-notes-compile.jenkinsfile.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/promotion/release-promotion.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/release-promotion.jenkinsfile.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/promotion/release-promotion.jenkinsfile.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/release-promotion.jenkinsfile.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_createPullRequest.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_createPullRequest.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_createPullRequest.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_createPullRequest.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_matchBuildManifest.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_matchBuildManifest.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_matchBuildManifest.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_matchBuildManifest.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_updateToRecentCommits.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_updateToRecentCommits.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_updateToRecentCommits.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_updateToRecentCommits.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_updateToTags.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_updateToTags.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testManifestCommitLock_updateToTags.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/testManifestCommitLock_updateToTags.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testMatchBuildManifest.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/testMatchBuildManifest.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testMatchBuildManifest.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/testMatchBuildManifest.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testUpdateToRecentCommit.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/testUpdateToRecentCommit.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testUpdateToRecentCommit.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/testUpdateToRecentCommit.txt diff --git a/tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testUpdateToRecentCommit_excludeFTRepo.txt b/tests/jenkins/jenkinsjob-regression-files/release-workflows/testUpdateToRecentCommit_excludeFTRepo.txt similarity index 100% rename from tests/jenkins/jenkinsjob-regression-files/release-manifest-commit-lock/testUpdateToRecentCommit_excludeFTRepo.txt rename to tests/jenkins/jenkinsjob-regression-files/release-workflows/testUpdateToRecentCommit_excludeFTRepo.txt