From 192bb59b6fd65ead2083a75496c29157ce6f6ff4 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Wed, 23 Apr 2025 16:43:23 +0200 Subject: [PATCH] Update CI pipeline to exclude tagged builds Added an `except` rule to the build job to skip execution for tagged commits. This ensures the build job runs only for relevant non-tagged changes. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b579f6a..b34c8e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,12 +23,13 @@ build: stage: build script: - echo "Running package..." -# - mkdir -p ${GITLAB_CLONE_DIR} - cd ${GITLAB_CLONE_DIR} - mvn clean package artifacts: paths: - target/ + except: + - tags on_commits: stage: on_commit