From f2353a4702005de8a87c6d446a8e707b1e8454ac Mon Sep 17 00:00:00 2001 From: Domagoj Zecevic Date: Fri, 19 Jun 2026 10:10:11 +0200 Subject: [PATCH] jenkinsfile changes --- .gitignore | 2 ++ Jenkinsfile | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7c5acd9..0a1e6b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.env + # OS .DS_Store Thumbs.db diff --git a/Jenkinsfile b/Jenkinsfile index 1fac19b..69a6d7b 100644 --- a/Jenkinsfile +++ b/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." } } }