Skip to content

Commit

Permalink
More changes
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Hao <[email protected]>
  • Loading branch information
zelinh committed Aug 23, 2022
1 parent cb07cf7 commit 8aac754
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 62 deletions.
9 changes: 4 additions & 5 deletions jenkins/opensearch-dashboards/distribution-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pipeline {
componentName: COMPONENT_NAME,
inputManifest: "manifests/$INPUT_MANIFEST",
status: "NOT_STARTED",
stage: "START"
stage: "INITIALIZE_STAGE"
)
}
}
Expand Down Expand Up @@ -138,7 +138,6 @@ pipeline {
stage: "integ_test_x64"
)


env.ARTIFACT_URL_X64_TAR_INTEG_TEST_RESULT = createTestResultsMessage(
testType: "Integ Tests (x64, tar)",
status: integTestResults.getResult(),
Expand Down Expand Up @@ -558,10 +557,10 @@ pipeline {
buildInfoYaml(
componentName: COMPONENT_NAME,
status: currentBuild.result,
stage: "COMPLETE"
stage: "FINALIZE_STAGE"
)
unstash "job_yml"
archiveArtifacts artifacts: 'job.yml'
unstash "buildInfo_yml"
archiveArtifacts artifacts: 'buildInfo.yml'
postCleanup()
}
}
Expand Down
8 changes: 4 additions & 4 deletions jenkins/opensearch/distribution-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pipeline {
componentName: COMPONENT_NAME,
inputManifest: "manifests/$INPUT_MANIFEST",
status: "NOT_STARTED",
stage: "START"
stage: "INITIALIZE_STAGE"
)
}
}
Expand Down Expand Up @@ -624,10 +624,10 @@ pipeline {
buildInfoYaml(
componentName: COMPONENT_NAME,
status: currentBuild.result,
stage: "COMPLETE"
stage: "FINALIZE_STAGE"
)
unstash "job_yml"
archiveArtifacts artifacts: 'job.yml'
unstash "buildInfo_yml"
archiveArtifacts artifacts: 'buildInfo.yml'
postCleanup()
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/jenkins/TestBuildInfoYaml.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class TestBuildInfoYaml extends BuildPipelineTest {
this.registerLibTester(new BuildInfoYamlLibTester(
'',
'tests/jenkins/data/opensearch-2.2.0.yml',
'tests/jenkins/data/job.yml',
'tests/jenkins/data/buildInfo.yml',
'NOT_STARTED',
'START'
'INITIALIZE_STAGE'
)
)
super.setUp()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,5 @@ results:
bwc_test_x64: NOT_STARTED
integ_test_arm64: NOT_STARTED
bwc_test_arm64: NOT_STARTED
x64_tar: NOT_STARTED
arm64_tar: NOT_STARTED
x64_rpm: NOT_STARTED
arm64_rpm: NOT_STARTED
duration: 154442
startTimestamp: 1660345758679
18 changes: 9 additions & 9 deletions tests/jenkins/jobs/BuildInfoYaml_Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,30 @@ pipeline {
buildInfoYaml(
componentName: "",
inputManifest: "tests/jenkins/data/opensearch-2.2.0.yml",
outputFile: "tests/jenkins/data/job.yml",
outputFile: "tests/jenkins/data/buildInfo.yml",
status: "NOT_STARTED",
stage: "START"
stage: "INITIALIZE_STAGE"
)
buildInfoYaml(
componentName: "",
inputManifest: "tests/jenkins/data/job.yml",
outputFile: "tests/jenkins/data/job.yml",
inputManifest: "tests/jenkins/data/buildInfo.yml",
outputFile: "tests/jenkins/data/buildInfo.yml",
status: "SUCCESS",
stage: "x64_tar"
)
buildInfoYaml(
componentName: "",
inputManifest: "tests/jenkins/data/job.yml",
outputFile: "tests/jenkins/data/job.yml",
inputManifest: "tests/jenkins/data/buildInfo.yml",
outputFile: "tests/jenkins/data/buildInfo.yml",
status: "6",
stage: "integ_test_x64"
)
buildInfoYaml(
componentName: "",
inputManifest: "tests/jenkins/data/job.yml",
outputFile: "tests/jenkins/data/job.yml",
inputManifest: "tests/jenkins/data/buildInfo.yml",
outputFile: "tests/jenkins/data/buildInfo.yml",
status: "SUCCESS",
stage: "COMPLETE"
stage: "FINALIZE_STAGE"
)
}
}
Expand Down
Loading

0 comments on commit 8aac754

Please sign in to comment.