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"