mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Changes
This commit is contained in:
parent
4ae090b776
commit
e4c37ff2ed
1 changed files with 0 additions and 18 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -1,31 +1,13 @@
|
|||
node {
|
||||
|
||||
agent any
|
||||
|
||||
tools{
|
||||
maven "Maven-3.3.9"
|
||||
jdk "JAVA_HOME"
|
||||
|
||||
}
|
||||
stage('Checkout') {
|
||||
git 'https://github.com/ThilakrajKM/spring-petclinic'
|
||||
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
// Run the maven build
|
||||
withEnv(["MVN_HOME=$mvnHome"]) {
|
||||
if (isUnix()) {
|
||||
sh '"$MVN_HOME/bin/mvn" -Dmaven.test.failure.ignore clean package'
|
||||
} else {
|
||||
bat(/"%MVN_HOME%\bin\mvn" -Dmaven.test.failure.ignore clean package/)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Archive') {
|
||||
junit allowEmptyResults: true, testResults: '**/target/**/TEST*.xml'
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue