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
.DS_Store
Thumbs.db

7
Jenkinsfile

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

Loading…
Cancel
Save