Commit 7459cbb8 by Jessica Hawkwell

Update .gitlab-ci.yml

1 parent 0006fe6c
Pipeline #107 failed in 0 seconds
Showing with 15 additions and 20 deletions
......@@ -13,50 +13,43 @@ variables:
- export GIT-REV=`git describe`
stages:
- validate
- compile
- test
- package
- verify
- deploy
validate:
stage: validate
script:
- mvn $MAVEN_CLI_OPTS validate
compile:
stage: compile
script:
- mvn $MAVEN_CLI_OPTS compile
test-compile:
stage: compile
script:
- mvn $MAVEN_CLI_OPTS test-compile
artifacts:
- target
test:
stage: test
stage: compile
script:
- mvn $MAVEN_CLI_OPTS test
- mvn $MAVEN_CLI_OPTS test-compile test
artifacts:
- target
package:
stage: package
dependencies:
- compile
script:
- mvn $MAVEN_CLI_OPTS package
site:
stage: package
dependencies:
- test
script:
- mvn $MAVEN_CLI_OPTS site site:jar
verify:
stage: verify
script:
- mvn $MAVEN_CLI_OPTS verify
deploy:
stage: deploy
dependencies:
- package
- site
script:
- mvn $MAVEN_CLI_OPTS deploy
artifacts:
......@@ -65,6 +58,8 @@ deploy:
pages:
stage: deploy
dependencies:
- site
script:
- mvn $MAVEN_CLI_OPTS site:stage
- mv target/staging public
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!