diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8976f52..595a3c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,14 +36,14 @@ cache: .validate: &validate stage: build 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`. # See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html .verify: &verify stage: test 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: - master @@ -67,7 +67,7 @@ deploy:jdk8: # Use stage test here, so the pages job may later pickup the created site. stage: test 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: - master # Archive up the built documentation site.