mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
updated jenkins
This commit is contained in:
parent
a3273c78da
commit
25aa2103b9
1 changed files with 2 additions and 8 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -38,17 +38,11 @@ pipeline {
|
||||||
rtMavenResolver (
|
rtMavenResolver (
|
||||||
id: "MAVEN_RESOLVER",
|
id: "MAVEN_RESOLVER",
|
||||||
serverId: "ARTIFACTORY_SERVER",
|
serverId: "ARTIFACTORY_SERVER",
|
||||||
releaseRepo: "libs-release",
|
releaseRepo: "spring-petclinic",
|
||||||
snapshotRepo: "spring-petclinic-snapshot"
|
snapshotRepo: "spring-petclinic-snapshot"
|
||||||
)
|
)
|
||||||
|
|
||||||
rtMavenRun (
|
sh "mvn validate compile test package"
|
||||||
tool: MAVEN_TOOL, // Tool name from Jenkins configuration
|
|
||||||
pom: 'pom.xml',
|
|
||||||
goals: 'validate compile test',
|
|
||||||
deployerId: "MAVEN_DEPLOYER",
|
|
||||||
resolverId: "MAVEN_RESOLVER"
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('build docker image') {
|
stage('build docker image') {
|
||||||
|
|
Loading…
Reference in a new issue