-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fixes in
publishDistributionBuildResults
and `publishIntegTestR…
…esults` (#4885) Signed-off-by: Prudhvi Godithi <[email protected]>
- Loading branch information
1 parent
ef3d7b5
commit 976b28d
Showing
10 changed files
with
125 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* compatible open source license. | ||
*/ | ||
|
||
lib = library(identifier: '[email protected].0', retriever: modernSCM([ | ||
lib = library(identifier: '[email protected].1', retriever: modernSCM([ | ||
$class: 'GitSCMSource', | ||
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', | ||
])) | ||
|
@@ -946,13 +946,6 @@ pipeline { | |
node(AGENT_LINUX_X64) { | ||
checkout scm | ||
script { | ||
if (params.UPDATE_GITHUB_ISSUE) { | ||
UpdateBuildFailureIssues( | ||
failureMessages: buildMessage(search: 'Error building'), | ||
passMessages: buildMessage(search: 'Successfully built'), | ||
inputManifestPath: "manifests/$INPUT_MANIFEST" | ||
) | ||
} | ||
def rc = (params.RC_NUMBER.toInteger() > 0) | ||
publishDistributionBuildResults( | ||
failureMessages: buildMessage(search: 'Error building'), | ||
|
@@ -962,6 +955,13 @@ pipeline { | |
rcNumber: env.RC_NUMBER, | ||
componentCategory: "OpenSearch Dashboards" | ||
) | ||
if (params.UPDATE_GITHUB_ISSUE) { | ||
UpdateBuildFailureIssues( | ||
failureMessages: buildMessage(search: 'Error building'), | ||
passMessages: buildMessage(search: 'Successfully built'), | ||
inputManifestPath: "manifests/$INPUT_MANIFEST" | ||
) | ||
} | ||
postCleanup() | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* compatible open source license. | ||
*/ | ||
|
||
lib = library(identifier: '[email protected].0', retriever: modernSCM([ | ||
lib = library(identifier: '[email protected].1', retriever: modernSCM([ | ||
$class: 'GitSCMSource', | ||
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', | ||
])) | ||
|
@@ -359,7 +359,7 @@ pipeline { | |
testType: "integ-test", | ||
componentName: "${COMPONENT_NAME}", | ||
) | ||
echo("Download report manifest from https://ci.opensearch.org/ci/dbc/integ-test/${env.version}/${env.buildId}/${env.platform}/${env.architecture}/${env.distribution}/test-results/${env.BUILD_NUMBER}/integ-test/test-report.yml") | ||
echo("Download report manifest from https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/${env.version}/${env.buildId}/${env.platform}/${env.architecture}/${env.distribution}/test-results/${env.BUILD_NUMBER}/integ-test/test-report.yml") | ||
stash includes: 'test-report.yml', name: "test-report-$BUILD_NUMBER" | ||
archiveArtifacts artifacts: 'test-report.yml' | ||
} | ||
|
@@ -373,6 +373,7 @@ pipeline { | |
distributionBuildNumber: env.buildId, | ||
distributionBuildUrl: "https://build.ci.opensearch.org/blue/organizations/jenkins/${env.BUILD_JOB_NAME}/detail/${env.BUILD_JOB_NAME}/${env.buildId}/pipeline", | ||
rc: rc, | ||
jobName: env.JOB_NAME, | ||
rcNumber: env.RC_NUMBER, | ||
platform: env.platform, | ||
architecture: env.architecture, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* compatible open source license. | ||
*/ | ||
|
||
lib = library(identifier: '[email protected].0', retriever: modernSCM([ | ||
lib = library(identifier: '[email protected].1', retriever: modernSCM([ | ||
$class: 'GitSCMSource', | ||
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', | ||
])) | ||
|
@@ -891,13 +891,6 @@ pipeline { | |
node(AGENT_LINUX_X64) { | ||
checkout scm | ||
script { | ||
if (params.UPDATE_GITHUB_ISSUE) { | ||
UpdateBuildFailureIssues( | ||
failureMessages: buildMessage(search: 'Error building'), | ||
passMessages: buildMessage(search: 'Successfully built'), | ||
inputManifestPath: "manifests/$INPUT_MANIFEST" | ||
) | ||
} | ||
def rc = (params.RC_NUMBER.toInteger() > 0) | ||
publishDistributionBuildResults( | ||
failureMessages: buildMessage(search: 'Error building'), | ||
|
@@ -907,6 +900,13 @@ pipeline { | |
rcNumber: env.RC_NUMBER, | ||
componentCategory: "OpenSearch" | ||
) | ||
if (params.UPDATE_GITHUB_ISSUE) { | ||
UpdateBuildFailureIssues( | ||
failureMessages: buildMessage(search: 'Error building'), | ||
passMessages: buildMessage(search: 'Successfully built'), | ||
inputManifestPath: "manifests/$INPUT_MANIFEST" | ||
) | ||
} | ||
postCleanup() | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* compatible open source license. | ||
*/ | ||
|
||
lib = library(identifier: '[email protected].0', retriever: modernSCM([ | ||
lib = library(identifier: '[email protected].1', retriever: modernSCM([ | ||
$class: 'GitSCMSource', | ||
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', | ||
])) | ||
|
@@ -324,6 +324,7 @@ pipeline { | |
distributionBuildNumber: env.buildId, | ||
distributionBuildUrl: "https://build.ci.opensearch.org/blue/organizations/jenkins/${env.BUILD_JOB_NAME}/detail/${env.BUILD_JOB_NAME}/${env.buildId}/pipeline", | ||
rc: rc, | ||
jobName: env.JOB_NAME, | ||
rcNumber: env.RC_NUMBER, | ||
platform: env.platform, | ||
architecture: env.architecture, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.