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: ...@@ -13,50 +13,43 @@ variables:
- export GIT-REV=`git describe` - export GIT-REV=`git describe`
stages: stages:
- validate
- compile - compile
- test
- package - package
- verify
- deploy - deploy
validate:
stage: validate
script:
- mvn $MAVEN_CLI_OPTS validate
compile: compile:
stage: compile stage: compile
script: script:
- mvn $MAVEN_CLI_OPTS compile - mvn $MAVEN_CLI_OPTS compile
artifacts:
test-compile: - target
stage: compile
script:
- mvn $MAVEN_CLI_OPTS test-compile
test: test:
stage: test stage: compile
script: script:
- mvn $MAVEN_CLI_OPTS test - mvn $MAVEN_CLI_OPTS test-compile test
artifacts:
- target
package: package:
stage: package stage: package
dependencies:
- compile
script: script:
- mvn $MAVEN_CLI_OPTS package - mvn $MAVEN_CLI_OPTS package
site: site:
stage: package stage: package
dependencies:
- test
script: script:
- mvn $MAVEN_CLI_OPTS site site:jar - mvn $MAVEN_CLI_OPTS site site:jar
verify:
stage: verify
script:
- mvn $MAVEN_CLI_OPTS verify
deploy: deploy:
stage: deploy stage: deploy
dependencies:
- package
- site
script: script:
- mvn $MAVEN_CLI_OPTS deploy - mvn $MAVEN_CLI_OPTS deploy
artifacts: artifacts:
...@@ -65,6 +58,8 @@ deploy: ...@@ -65,6 +58,8 @@ deploy:
pages: pages:
stage: deploy stage: deploy
dependencies:
- site
script: script:
- mvn $MAVEN_CLI_OPTS site:stage - mvn $MAVEN_CLI_OPTS site:stage
- mv target/staging public - 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!