Skip to content

Commit

Permalink
Debug the lib
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi committed Oct 25, 2024
1 parent b73e022 commit ddbc0d4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions jenkins/opensearch/integ-test.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* compatible open source license.
*/

lib = library(identifier: 'jenkins@7.2.0', retriever: modernSCM([
lib = library(identifier: 'jenkins@main', retriever: modernSCM([
$class: 'GitSCMSource',
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
remote: 'https://github.com/prudhvigodithi/opensearch-build-libraries.git',
]))

def docker_images = [
Expand Down Expand Up @@ -146,6 +146,9 @@ pipeline {
agent { label AGENT_LABEL }
steps {
script {
sh "Sample test command"
}
/*script {
downloadBuildManifest(
url: BUILD_MANIFEST_URL,
path: BUILD_MANIFEST
Expand Down Expand Up @@ -267,12 +270,12 @@ pipeline {
}
}
parallel componentTests
}
}*/
}
post {
always {
script {
retry(5) {
/*retry(5) {
node(AGENT_LABEL) {
docker.withRegistry('https://public.ecr.aws/') {
docker.image(docker_images["$distribution"]).inside(docker_args["$distribution"]) {
Expand All @@ -295,13 +298,13 @@ pipeline {
}
}
}
}
}*/
retry(5) {
node(agent_nodes['linux_x64']) {
sleep 10
def rc = (params.RC_NUMBER.toInteger() > 0)
sh "mkdir -p test-results-os-${env.BUILD_NUMBER}"
sh "curl -sSL 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 --output test-results-os-${env.BUILD_NUMBER}/test-report.yml"
sh "curl -sSL https://build.ci.opensearch.org/job/integ-test/8865/artifact/test-report.yml --output test-results-os-${env.BUILD_NUMBER}/test-report.yml"
publishIntegTestResults(
distributionBuildUrl: "https://build.ci.opensearch.org/blue/organizations/jenkins/${env.BUILD_JOB_NAME}/detail/${env.BUILD_JOB_NAME}/${env.buildId}/pipeline",
jobName: env.JOB_NAME,
Expand Down

0 comments on commit ddbc0d4

Please sign in to comment.