mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:55:49 +00:00
changes
This commit is contained in:
parent
585d581706
commit
0a8a8a7c77
1 changed files with 6 additions and 6 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -9,7 +9,6 @@ pipeline {
|
|||
steps {
|
||||
git branch: 'declarative',
|
||||
url: 'https://github.com/Bharatkumar5690/spring-petclinic.git'
|
||||
sh printenv
|
||||
}
|
||||
}
|
||||
stage('Artifactory configuration') {
|
||||
|
@ -34,20 +33,21 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('package') {
|
||||
tools {
|
||||
jdk 'JDK_17'
|
||||
}
|
||||
steps {
|
||||
rtMavenRun (
|
||||
tool: 'MAVEN_DEFAULT',
|
||||
pom: 'pom.xml',
|
||||
goals: 'clean install',
|
||||
deployerId: "MAVEN_DEPLOYER"
|
||||
deployerId: "MAVEN_DEPLOYER",
|
||||
resolverId: "MAVEN_RESOLVER"
|
||||
)
|
||||
}
|
||||
}
|
||||
stage ('Publish build info') {
|
||||
steps {
|
||||
rtPublishBuildInfo (
|
||||
serverId: "ARTIFACTORY_SERVER"
|
||||
)
|
||||
//sh "mvn ${params.MAVEN_GOAL}"
|
||||
}
|
||||
}
|
||||
stage('Test the code by using sonarqube') {
|
||||
|
|
Loading…
Reference in a new issue