Updated .gitlab-ci.yml

This commit is contained in:
Anthony committed 2018-04-02 14:51:39 -04:00
1 parent 98e0b846d5
commit a84e19de21
1 file changed
+3 -3
+3 -3
View File
@@ -36,14 +36,14 @@ cache:
.validate: &validate .validate: &validate
stage: build stage: build
script: script:
- "mvn --batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true test-compile" - "mvn --batch-mode --errors --fail-at-end --show-version test-compile"
# For merge requests do not `deploy` but only run `verify`. # For merge requests do not `deploy` but only run `verify`.
# See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html # See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
.verify: &verify .verify: &verify
stage: test stage: test
script: script:
- "mvn --batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true verify site site:stage" - "mvn --batch-mode --errors --fail-at-end --show-version verify"
except: except:
- master - master
@@ -67,7 +67,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:
- "mvn --batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true deploy site site:stage" - "mvn --batch-mode --errors --fail-at-end --show-version deploy"
only: only:
- master - master
# Archive up the built documentation site. # Archive up the built documentation site.