Browse Source

jenkinsfile changes

main
Domagoj Zecevic 2 days ago
parent
commit
f2353a4702
  1. 2
      .gitignore
  2. 5
      Jenkinsfile

2
.gitignore

@ -1,3 +1,5 @@
.env
# OS # OS
.DS_Store .DS_Store
Thumbs.db Thumbs.db

5
Jenkinsfile

@ -147,6 +147,7 @@ pipeline {
-------------------------------------------------------- */ -------------------------------------------------------- */
} }
} }
} }
post { post {
@ -158,10 +159,10 @@ pipeline {
""" """
} }
success { success {
echo "Image pushed: ${REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}" echo "Deployed: ${REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}"
} }
failure { failure {
echo "Build failed — image was NOT pushed to the registry." echo "Build failed — image was NOT pushed or deployed."
} }
} }
} }

Loading…
Cancel
Save