mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 10:55:48 +00:00
changes
This commit is contained in:
parent
7797395b1d
commit
879bb9b499
1 changed files with 15 additions and 1 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -34,7 +34,21 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('package') {
|
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') {
|
stage('Test the code by using sonarqube') {
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue