Update .gitlab-ci.yml
This commit is contained in:
1 parent
8fd7a72382
commit
c1325c8ddd
1 file changed
+3
-3
+3
-3
@@ -36,14 +36,14 @@ cache:
|
|||||||
.validate: &validate
|
.validate: &validate
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- '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`.
|
||||||
# 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 $MAVEN_CLI_OPTS verify site site:stage'
|
- mvn $MAVEN_CLI_OPTS verify site site:stage
|
||||||
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 $MAVEN_CLI_OPTS deploy site site:stage'
|
- mvn $MAVEN_CLI_OPTS deploy site site:stage
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
# Archive up the built documentation site.
|
# Archive up the built documentation site.
|
||||||
|
|||||||
Reference in new issue
Block a user