Skip to content
Snippets Groups Projects

CI/CD fix

Merged Cristina Pauna requested to merge feature/GAIAXAUTH-6 into main
1 file
+ 11
11
Compare changes
  • Side-by-side
  • Inline
+ 11
11
@@ -42,7 +42,7 @@ cache:
@@ -42,7 +42,7 @@ cache:
variables:
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# Verify merge requests using JDK8
# Verify merge requests using JDK11
verify:jdk11:
verify:jdk11:
<<: *verify
<<: *verify
@@ -50,13 +50,13 @@ verify:jdk11:
@@ -50,13 +50,13 @@ verify:jdk11:
# For deploying packages to GitLab's Maven Repository: See https://docs.gitlab.com/ee/user/packages/maven_repository/index.html#create-maven-packages-with-gitlab-cicd for more details.
# For deploying packages to GitLab's Maven Repository: See https://docs.gitlab.com/ee/user/packages/maven_repository/index.html#create-maven-packages-with-gitlab-cicd for more details.
# Please note: The GitLab Maven Repository is currently only available in GitLab Premium / Ultimate.
# Please note: The GitLab Maven Repository is currently only available in GitLab Premium / Ultimate.
# For `master` branch run `mvn deploy` automatically.
# For `master` branch run `mvn deploy` automatically.
deploy:jdk8:
#deploy:jdk11:
stage: deploy
# stage: deploy
script:
# script:
- if [ ! -f ci_settings.xml ];
# - if [ ! -f ci_settings.xml ];
then echo "CI settings missing\! If deploying to GitLab Maven Repository, please see https://docs.gitlab.com/ee/user/packages/maven_repository/index.html#create-maven-packages-with-gitlab-cicd for instructions.";
# then echo "CI settings missing\! If deploying to GitLab Maven Repository, please see https://docs.gitlab.com/ee/user/packages/maven_repository/index.html#create-maven-packages-with-gitlab-cicd for instructions.";
fi
# fi
- 'mvn $MAVEN_CLI_OPTS deploy -s ci_settings.xml'
# - 'mvn $MAVEN_CLI_OPTS deploy -s ci_settings.xml'
only:
# only:
variables:
# variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
Loading