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.
This commit is contained in:
+2
-1
@@ -23,12 +23,13 @@ build:
|
|||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- echo "Running package..."
|
- echo "Running package..."
|
||||||
# - mkdir -p ${GITLAB_CLONE_DIR}
|
|
||||||
- cd ${GITLAB_CLONE_DIR}
|
- cd ${GITLAB_CLONE_DIR}
|
||||||
- mvn clean package
|
- mvn clean package
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- target/
|
- target/
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
|
|
||||||
on_commits:
|
on_commits:
|
||||||
stage: on_commit
|
stage: on_commit
|
||||||
|
|||||||
Reference in New Issue
Block a user