From 55c1ad03abdb2d03b52ba9ba9e76347c9f8761f5 Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Fri, 22 Mar 2024 11:50:19 -0700 Subject: [PATCH] Add publishGradleCheckTestResults lib to gradle-check Signed-off-by: Rishabh Singh --- jenkins/gradle/gradle-check.jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkins/gradle/gradle-check.jenkinsfile b/jenkins/gradle/gradle-check.jenkinsfile index 8778dd920a..485c6665ca 100644 --- a/jenkins/gradle/gradle-check.jenkinsfile +++ b/jenkins/gradle/gradle-check.jenkinsfile @@ -7,7 +7,7 @@ * compatible open source license. */ -lib = library(identifier: 'jenkins@5.3.0', retriever: modernSCM([ +lib = library(identifier: 'jenkins@6.4.0', retriever: modernSCM([ $class: 'GitSCMSource', remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', ])) @@ -147,6 +147,7 @@ pipeline { junit allowEmptyResults: true, testResults: '**/build/test-results/**/*.xml' archiveArtifacts artifacts: 'codeCoverage.xml', onlyIfSuccessful: true script { + publishGradleCheckTestResults(prNumber: "${pr_number}", prDescription: "${pr_title}") sh("rm -rf *") postCleanup() }