Skip to content
Snippets Groups Projects
Commit 4259d678 authored by Saralegui Vallejo, Unai's avatar Saralegui Vallejo, Unai
Browse files

add settings file copy in CI jobs

parent acc0f677
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ deploy:
tags:
- docker
script:
- cp $MAVEN_SETTINGS_XML $CI_PROJECT_DIR/.m2/settings.xml
- mvn $MAVEN_CLI_OPTS -f $POM_FILE -s $MAVEN_SETTINGS_XML deploy
only:
- tags
......@@ -4,6 +4,7 @@ test:
tags:
- docker
script:
- cp $MAVEN_SETTINGS_XML $CI_PROJECT_DIR/.m2/settings.xml
- mvn $MAVEN_CLI_OPTS -f $POM_FILE -s $MAVEN_SETTINGS_XML test
only:
- master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment