This commit is contained in:
Bharatkumar5690 2023-03-09 19:30:15 +05:30
parent 7797395b1d
commit 879bb9b499

16
Jenkinsfile vendored
View file

@ -34,7 +34,21 @@ pipeline {
}
}
stage('package') {
sh 'mvn package'
tools {
jdk 'JDK_17'
}
steps {
rtMavenRun (
tool: 'MAVEN_DEFAULT',
pom: 'pom.xml',
goals: 'clean install',
deployerId: "MAVEN_DEPLOYER"
)
rtPublishBuildInfo (
serverId: "ARTIFACTORY_SERVER"
)
//sh "mvn ${params.MAVEN_GOAL}"
}
}
stage('Test the code by using sonarqube') {
steps {