From 6d430aa9b325c23a5004c82cec6376224b5731b4 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Date: Fri, 11 Aug 2023 11:58:01 -0700 Subject: [PATCH] Remove redundant buildInfo.yaml from distribution builds (#3870) Signed-off-by: Sayali Gaikawad --- .../distribution-build.jenkinsfile | 32 ------------------- .../opensearch/distribution-build.jenkinsfile | 32 ------------------- 2 files changed, 64 deletions(-) diff --git a/jenkins/opensearch-dashboards/distribution-build.jenkinsfile b/jenkins/opensearch-dashboards/distribution-build.jenkinsfile index 783eb9476a..3221a4f3c9 100644 --- a/jenkins/opensearch-dashboards/distribution-build.jenkinsfile +++ b/jenkins/opensearch-dashboards/distribution-build.jenkinsfile @@ -131,31 +131,6 @@ pipeline { } } } - stage('Initialize the job info yaml report') { - agent { - docker { - label AGENT_X64 - image dockerAgent.image - registryUrl 'https://public.ecr.aws/' - alwaysPull true - } - } - steps { - script { - buildInfoYaml( - componentName: COMPONENT_NAME, - inputManifest: "manifests/$INPUT_MANIFEST", - status: "NOT_STARTED", - stage: "INITIALIZE_STAGE" - ) - } - } - post { - always { - postCleanup() - } - } - } stage('build') { parallel { stage('build-and-test-linux-x64-tar') { @@ -851,13 +826,6 @@ pipeline { node(AGENT_X64) { checkout scm script { - buildInfoYaml( - componentName: COMPONENT_NAME, - status: currentBuild.result, - stage: "FINALIZE_STAGE" - ) - unstash "buildInfo_yml" - archiveArtifacts artifacts: 'buildInfo.yml' closeBuildSuccessGithubIssue( message: buildMessage(search: 'Successfully built'), search: "Successfully built", diff --git a/jenkins/opensearch/distribution-build.jenkinsfile b/jenkins/opensearch/distribution-build.jenkinsfile index a31901d8da..c6e4f87804 100644 --- a/jenkins/opensearch/distribution-build.jenkinsfile +++ b/jenkins/opensearch/distribution-build.jenkinsfile @@ -105,31 +105,6 @@ pipeline { } } } - stage('Initialize the job info yaml report') { - agent { - docker { - label AGENT_X64 - image dockerAgent.image - registryUrl 'https://public.ecr.aws/' - alwaysPull true - } - } - steps { - script { - buildInfoYaml( - componentName: COMPONENT_NAME, - inputManifest: "manifests/$INPUT_MANIFEST", - status: "NOT_STARTED", - stage: "INITIALIZE_STAGE" - ) - } - } - post { - always { - postCleanup() - } - } - } stage('build') { parallel { stage('build-opensearch-snapshot-linux-x64-tar') { @@ -903,13 +878,6 @@ pipeline { node(AGENT_X64) { checkout scm script { - buildInfoYaml( - componentName: COMPONENT_NAME, - status: currentBuild.result, - stage: "FINALIZE_STAGE" - ) - unstash "buildInfo_yml" - archiveArtifacts artifacts: 'buildInfo.yml' closeBuildSuccessGithubIssue( message: buildMessage(search: 'Successfully built'), search: "Successfully built",