mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 19:07:28 +00:00
ud
This commit is contained in:
parent
74a2900d25
commit
e16cc12d8a
1 changed files with 4 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ pipeline {
|
|||
IMAGE = 'spring-petclinic'
|
||||
TAG = 'latest'
|
||||
DOCKER_HOST = "tcp://10.52.81.17:2375"
|
||||
|
||||
}
|
||||
|
||||
stages {
|
||||
|
|
@ -27,14 +28,15 @@ pipeline {
|
|||
stage('Build & Unit Tests') {
|
||||
steps {
|
||||
dir('.') {
|
||||
sh '''
|
||||
sh '''
|
||||
echo "JAVA_HOME=$JAVA_HOME"
|
||||
java -version
|
||||
mvn -B -U clean verify
|
||||
mvn -B -U clean verify -Dspring-javaformat.skip
|
||||
'''
|
||||
}
|
||||
}
|
||||
post {
|
||||
|
||||
always {
|
||||
junit allowEmptyResults: true, testResults: 'backend/target/surefire-reports/*.xml'
|
||||
archiveArtifacts artifacts: 'backend/target/*.jar', fingerprint: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue