printing summary

This commit is contained in:
Maharshi Patel 2021-01-10 10:54:57 -08:00
parent aeb9e31447
commit 410507e4c0
2 changed files with 11 additions and 2 deletions

View file

@ -5,8 +5,7 @@ COPY pom.xml ./
RUN mvn dependency:go-offline
COPY . ./
RUN mvn validate
RUN mvn compile test
RUN mvn validate compile test
RUN mvn package
FROM openjdk:8-jre-alpine

10
Jenkinsfile vendored
View file

@ -43,5 +43,15 @@ pipeline {
}
}
}
stage ('print job summary') {
steps {
println "------------------------------------------------"
println "--------------------INFO------------------------"
println "Docker image pushed to Dockerhub: mpatel011/spring-petclinic:$BUILD_NUMBER"
println "------------------------------------------------"
println "------------------------------------------------"
println "----Git repo link: https://github.com/mnpatel0611/spring-petclinic"
}
}
}
}