Skip to content
Snippets Groups Projects
Commit 402d52af authored by Filip Piták's avatar Filip Piták
Browse files

Update .gitlab-ci.yml file

parent 58ef5615
No related branches found
No related tags found
No related merge requests found
...@@ -13,19 +13,12 @@ build: ...@@ -13,19 +13,12 @@ build:
- shared-fi - shared-fi
stage: build stage: build
script: script:
- echo "We are building your project, $GITLAB_USER_LOGIN" - echo "We are building your project, $GITLAB_USER_LOGIN"
- cd infrastructure - mvn -f ./infrastructure clean install $MAVEN_CLI_OPTS
- mvn clean install $MAVEN_CLI_OPTS - mvn -f ./m2m-banking-api clean install $MAVEN_CLI_OPTS
- cd .. - mvn -f ./account-query clean install $MAVEN_CLI_OPTS
- cd account-query - mvn -f ./account-management clean install $MAVEN_CLI_OPTS
- mvn clean install $MAVEN_CLI_OPTS - mvn -f ./transaction-processor clean install $MAVEN_CLI_OPTS
- cd ..
- cd account-management
- mvn clean install $MAVEN_CLI_OPTS
- cd ..
- cd transaction-processor
- mvn clean install $MAVEN_CLI_OPTS
- cd ..
artifacts: artifacts:
expire_in: 10 min expire_in: 10 min
paths: paths:
...@@ -36,14 +29,8 @@ test: ...@@ -36,14 +29,8 @@ test:
- shared-fi - shared-fi
stage: test stage: test
script: script:
- cd infrastructure - mvn -f ./infrastructure clean install $MAVEN_CLI_OPTS
- mvn clean install $MAVEN_CLI_OPTS - mvn -f ./m2m-banking-api clean install $MAVEN_CLI_OPTS
- cd .. - mvn -f ./account-management clean verify
- 'cd account-management' - mvn -f ./account-query clean verify
- 'mvn verify' - mvn -f ./transaction-processor clean verify
- cd ..
- 'cd account-query'
- 'mvn verify'
- cd ..
- 'cd transaction-processor'
- 'mvn verify'
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