From 69faf3d59be2398cbccab3944f3381114beaf798 Mon Sep 17 00:00:00 2001 From: udaykiran Date: Wed, 9 Aug 2023 17:21:53 +0530 Subject: [PATCH] 9765 --- jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/jenkinsfile b/jenkinsfile index c3f289d54..daff347f8 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -6,9 +6,6 @@ pipeline { triggers { pollSCM('* * * * *') } - tools { - jdk 'JDK-17' - } stages { stage('vcs') { steps { @@ -25,7 +22,8 @@ pipeline { snapshotRepo: 'yadu-libs-snapshot-local' ) rtMavenRun ( - tool: 'maven 3.9', // Tool name from Jenkins configuration + tool: {" maven 3.9" + 'JDK-17'} pom: 'pom.xml', goals: 'clean install', deployerId: "SPC_DEPLOYER"