Commit 430e688e by Jessica Hawkwell

Update .gitlab-ci.yml

1 parent 84aed264
Pipeline #99 passed
in 30 seconds
Showing with 3 additions and 0 deletions
...@@ -33,6 +33,7 @@ variables: ...@@ -33,6 +33,7 @@ variables:
.validate: &validate .validate: &validate
stage: build stage: build
script: script:
- env
- 'mvn $MAVEN_CLI_OPTS test-compile' - 'mvn $MAVEN_CLI_OPTS test-compile'
# For merge requests do not `deploy` but only run `verify`. # For merge requests do not `deploy` but only run `verify`.
...@@ -40,6 +41,7 @@ variables: ...@@ -40,6 +41,7 @@ variables:
.verify: &verify .verify: &verify
stage: test stage: test
script: script:
- env
- 'mvn $MAVEN_CLI_OPTS verify site site:stage' - 'mvn $MAVEN_CLI_OPTS verify site site:stage'
except: except:
- master - master
...@@ -64,6 +66,7 @@ deploy:jdk8: ...@@ -64,6 +66,7 @@ deploy:jdk8:
# Use stage test here, so the pages job may later pickup the created site. # Use stage test here, so the pages job may later pickup the created site.
stage: test stage: test
script: script:
- env
- 'mvn $MAVEN_CLI_OPTS deploy site site:stage' - 'mvn $MAVEN_CLI_OPTS deploy site site:stage'
only: only:
- master - master
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!