Skip to content
Snippets Groups Projects
Commit 7f2d3fa7 authored by Martin Mojžiš's avatar Martin Mojžiš
Browse files

Update .gitlab-ci.yml file

parent 96c869be
No related branches found
No related tags found
No related merge requests found
......@@ -4,37 +4,43 @@ stages:
image: maven:latest
test-account-management:
stage: test
tags:
- shared-fi
script:
- 'cd account-management'
- 'mvn clean install'
variables:
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -Dmaven.test.skip=true"
test-account-query:
stage: test
tags:
- shared-fi
script:
- 'cd account-query'
- 'mvn clean install'
test-infrastructure:
stage: test
tags:
- shared-fi
script:
- 'cd infrastructure'
- 'mvn clean install'
build:
tags:
- shared-fi
stage: build
script:
- echo "We are building your project, $GITLAB_USER_LOGIN"
- cd infrastructure
- mvn clean install $MAVEN_CLI_OPTS
- cd ..
- cd account-query
- mvn 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:
expire_in: 10 min
paths:
- "*/target/*.jar"
test-transaction-processor:
stage: test
tags:
- shared-fi
script:
- 'cd infrastructure'
- 'mvn clean install'
- 'cd ..'
test:
tags:
- shared-fi
stage: test
script:
- 'cd account-management'
- 'mvn verify'
- cd ..
- 'cd account-query'
- 'mvn verify'
- cd ..
- 'cd transaction-processor'
- 'mvn clean install'
- '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