This commit is contained in:
Bharatkumar5690 2023-03-09 18:48:26 +05:30
parent 35348c6f70
commit 45395a9f27

12
Jenkinsfile vendored
View file

@ -36,17 +36,7 @@ pipeline {
jdk 'JDK_17'
maven 'MAVEN'
}
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 {