Browse Source

jenkinsfile changes

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

2
.gitignore

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

7
Jenkinsfile

@ -147,7 +147,8 @@ pipeline {
-------------------------------------------------------- */ -------------------------------------------------------- */
} }
} }
}
}
post { post {
always { always {
@ -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