mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
added changes
This commit is contained in:
parent
8f1c16f493
commit
1d9fce602b
1 changed files with 29 additions and 1 deletions
28
Jenkinsfile
vendored
28
Jenkinsfile
vendored
|
@ -20,6 +20,34 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
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