This commit is contained in:
udaykiran 2023-08-09 17:21:53 +05:30
parent 19df9bff78
commit 69faf3d59b

View file

@ -6,9 +6,6 @@ pipeline {
triggers { triggers {
pollSCM('* * * * *') pollSCM('* * * * *')
} }
tools {
jdk 'JDK-17'
}
stages { stages {
stage('vcs') { stage('vcs') {
steps { steps {
@ -25,7 +22,8 @@ pipeline {
snapshotRepo: 'yadu-libs-snapshot-local' snapshotRepo: 'yadu-libs-snapshot-local'
) )
rtMavenRun ( rtMavenRun (
tool: 'maven 3.9', // Tool name from Jenkins configuration tool: {" maven 3.9"
'JDK-17'}
pom: 'pom.xml', pom: 'pom.xml',
goals: 'clean install', goals: 'clean install',
deployerId: "SPC_DEPLOYER" deployerId: "SPC_DEPLOYER"