Skip to content
Snippets Groups Projects
Commit c867fc42 authored by Dennis Eisold's avatar Dennis Eisold
Browse files

Merge branch 'master' into 'master'

Nach push automatisch alle Unit Tests ausführen lassen und Projekt compilieren

See merge request !11
parents eadec763 29c386b5
Branches master
No related tags found
No related merge requests found
image: maven:latest image: maven:latest
java: stages:
- clean
- build
- test
- deploy
Clean Project files:
stage: clean
script: mvn clean
Compile new version:
stage: build
script: mvn compile
Run JUnit tests and verify:
stage: test stage: test
script: script: mvn verify
- mvn verify
artifacts: artifacts:
reports: reports:
junit: junit:
- target/surefire-reports/TEST-*.xml - target/surefire-reports/TEST-*.xml
- target/failsafe-reports/TEST-*.xml - target/failsafe-reports/TEST-*.xml
\ No newline at end of file
Deploy new version as Release:
stage: deploy
script:
- mvn versions:set -DnewVersion=$CI_COMMIT_TAG
- mvn assembly:assembly
[![pipeline status](https://www.gitrepo.de/alfatrainingkurse/java/enigma/badges/master/pipeline.svg)](https://www.gitrepo.de/alfatrainingkurse/java/enigma/commits/master)
Link zum [Wiki](https://www.gitrepo.de/alfatrainingkurse/java/enigma/wikis/home) Link zum [Wiki](https://www.gitrepo.de/alfatrainingkurse/java/enigma/wikis/home)
\ No newline at end of file
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