From ddbc0d451ec6b162a1bcf24b301f0aafe2cea2aa Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Fri, 25 Oct 2024 11:36:33 -0700 Subject: [PATCH] Debug the lib Signed-off-by: Prudhvi Godithi --- jenkins/opensearch/integ-test.jenkinsfile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/jenkins/opensearch/integ-test.jenkinsfile b/jenkins/opensearch/integ-test.jenkinsfile index 59b467c21f..73c3661dc9 100644 --- a/jenkins/opensearch/integ-test.jenkinsfile +++ b/jenkins/opensearch/integ-test.jenkinsfile @@ -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 = [ @@ -146,6 +146,9 @@ pipeline { agent { label AGENT_LABEL } steps { script { + sh "Sample test command" + } + /*script { downloadBuildManifest( url: BUILD_MANIFEST_URL, path: BUILD_MANIFEST @@ -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"]) { @@ -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,