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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user