Skip to content

Commit

Permalink
Remove redundant buildInfo.yaml from distribution builds (#3870)
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya authored Aug 11, 2023
1 parent 1ca8c64 commit 6d430aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 64 deletions.
32 changes: 0 additions & 32 deletions jenkins/opensearch-dashboards/distribution-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down Expand Up @@ -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",
Expand Down
32 changes: 0 additions & 32 deletions jenkins/opensearch/distribution-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 6d430aa

Please sign in to comment.