added maven credentials to release stages
@@ -43,6 +43,7 @@ start release:
image: maven:3-jdk-8
stage: release
script:
+ - echo "$MAVEN_CREDENTIALS" > /root/.m2/settings.xml
- git remote set-url origin $GIT_REPO_ORIGIN/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME.git
- git checkout master
- git checkout dev
@@ -55,6 +56,7 @@ finish release:
image: maven:3-jdk-8
stage: release
script:
+ - echo "$MAVEN_CREDENTIALS" > /root/.m2/settings.xml
- git remote set-url origin $GIT_REPO_ORIGIN/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME.git
- git checkout master
- git checkout dev
