Commit f30cff25 by Jessica Hawkwell

Update .gitlab-ci.yml

1 parent 208295d3
Pipeline #117 failed
in 1 minute 22 seconds
Showing with 5 additions and 20 deletions
......@@ -20,14 +20,7 @@ stages:
compile:
stage: compile
script:
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS compile
artifacts:
paths:
- target
test:
stage: compile
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS test-compile test
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS compile test
artifacts:
paths:
- target
......@@ -37,24 +30,15 @@ package:
dependencies:
- compile
script:
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS package
site:
stage: package
dependencies:
- test
script:
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS site site:jar
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS package
artifacts:
paths:
- target/site
- target/*-site.jar
- target/*.jar
deploy:
stage: deploy
dependencies:
- package
- site
script:
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS deploy
artifacts:
......@@ -64,8 +48,9 @@ deploy:
pages:
stage: deploy
dependencies:
- site
- package
script:
- unzip *-site.jar -d site
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS site:stage
- mv target/staging public
artifacts:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!