Skip to content
Snippets Groups Projects
Commit 50522047 authored by Pavel Šeda's avatar Pavel Šeda
Browse files

Update .gitlab-ci.yml

parent d99bfc9c
No related branches found
No related tags found
No related merge requests found
Pipeline #75039 passed with stages
in 1 minute and 39 seconds
......@@ -30,7 +30,7 @@ create_tag:
# generate swagger documentation
- mvn clean compile $MAVEN_CLI_OPTS -DskipTests -Dswagger.skip=false -Dproprietary-repo-url=$PROPRIETARY_REPO_URL
- git add doc-files/kypo-adaptive-training-open-api.yaml
- git commit -m "[CI/CD] Updated Swagger documentation generated"
- git commit -m "Updated Swagger documentation generated"
- /app/tag-and-push.sh
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
......@@ -46,7 +46,7 @@ build:
changes:
- pom.xml
when: never
- if: '$CI_COMMIT_BRANCH && $CI_COMMIT_MESSAGE !~ /[CI\/CD] Updated Swagger documentation generated/'
- if: '$CI_COMMIT_BRANCH && $CI_COMMIT_MESSAGE !~ /Updated Swagger documentation generated/'
when: always
tests:
......@@ -62,7 +62,7 @@ tests:
changes:
- pom.xml
when: never
- if: '$CI_COMMIT_BRANCH && $CI_COMMIT_MESSAGE !~ /[CI\/CD] Updated Swagger documentation generated/'
- if: '$CI_COMMIT_BRANCH && $CI_COMMIT_MESSAGE !~ /Updated Swagger documentation generated/'
when: always
docker_image_push:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment