mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 01:15:50 +00:00
added changes
This commit is contained in:
parent
8f1c16f493
commit
1d9fce602b
1 changed files with 29 additions and 1 deletions
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
|
@ -19,7 +19,35 @@ pipeline {
|
|||
sh 'mvn clean package sonar:sonar'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('artifactory') {
|
||||
steps {
|
||||
rtMavenDeployer (
|
||||
id: "jfrog",
|
||||
serverId: "madhuri",
|
||||
releaseRepo: "madhuri",
|
||||
snapshotRepo: "madhuri"
|
||||
)
|
||||
}
|
||||
}
|
||||
stage ('Exec Maven') {
|
||||
steps {
|
||||
rtMavenRun (
|
||||
tool: "MAVEN_GOAL", // Tool name from Jenkins configuration
|
||||
pom: 'pom.xml',
|
||||
goals: 'clean install',
|
||||
deployerId: "jfrog"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
stage ('Publish build info') {
|
||||
steps {
|
||||
rtPublishBuildInfo (
|
||||
serverId: "madhuri"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue