print update

This commit is contained in:
Maharshi Patel 2021-01-11 12:12:45 -08:00
parent c828bb0689
commit a991f65090

3
Jenkinsfile vendored
View file

@ -32,7 +32,6 @@ pipeline {
steps { steps {
sh "mvn clean validate compile test package" sh "mvn clean validate compile test package"
sh "ls -la target" sh "ls -la target"
echo "------------------------------------------------"
echo "--------------------Start - Push to JFROG Artifactory------------------------" echo "--------------------Start - Push to JFROG Artifactory------------------------"
sh 'curl -u jfroguser:AdminPassword1 -T ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar "${artifactory_repo}/spring-petclinic-2.4.0.BUILD-${BUILD_NUMBER}.jar"' sh 'curl -u jfroguser:AdminPassword1 -T ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar "${artifactory_repo}/spring-petclinic-2.4.0.BUILD-${BUILD_NUMBER}.jar"'
echo "--------------------Complete - Push to JFROG Artifactory------------------------" echo "--------------------Complete - Push to JFROG Artifactory------------------------"
@ -60,7 +59,7 @@ pipeline {
steps { steps {
echo "----Git repo link: https://github.com/mnpatel0611/spring-petclinic" echo "----Git repo link: https://github.com/mnpatel0611/spring-petclinic"
echo "------------------------------------------------" echo "------------------------------------------------"
echo "--------------------INFO------------------------" echo "--------------------Job Summary Info------------------------"
echo "Artifact URL: ${artifactory_repo}/spring-petclinic-2.4.0.BUILD-${BUILD_NUMBER}.jar" echo "Artifact URL: ${artifactory_repo}/spring-petclinic-2.4.0.BUILD-${BUILD_NUMBER}.jar"
echo "Docker image pushed to Dockerhub: mpatel011/spring-petclinic:$BUILD_NUMBER" echo "Docker image pushed to Dockerhub: mpatel011/spring-petclinic:$BUILD_NUMBER"
echo "------------------------------------------------" echo "------------------------------------------------"