Skip to content
Snippets Groups Projects
Commit 030b04f6 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch '10-disable-compilation-of-tests-during-release-deploy-jobs' into 'master'

Resolve "disable compilation of tests during release/deploy jobs"

Closes #10

See merge request to-be-continuous/maven!17
parents 4215efda d7c2da14
No related branches found
No related tags found
No related merge requests found
......@@ -170,8 +170,8 @@ They are bound to the `publish` stage, and use the following variables:
| ----------------------------------- | ------------------------------------------------------------ | ----------------- |
| `MAVEN_DEPLOY_ENABLED` | Set to `true` to enable a publish jobs | _none_ (disabled) |
| `MAVEN_DEPLOY_FROM_UNPROTECTED_DISABLED` | Set to `true` to limit snapshot publication to protected branches | _none_ (disabled) |
| `MAVEN_DEPLOY_ARGS` | Maven arguments for the Snapshot job | `deploy -DskipTests` |
| `MAVEN_RELEASE_ARGS` | Maven arguments for the Release job | `release:prepare release:perform -Darguments=-DskipTests` |
| `MAVEN_DEPLOY_ARGS` | Maven arguments for the Snapshot job | `deploy -Dmaven.test.skip=true` |
| `MAVEN_RELEASE_ARGS` | Maven arguments for the Release job | `release:prepare release:perform -Darguments=-Dmaven.test.skip=true` |
| `MAVEN_RELEASE_SCM_COMMENT_PREFIX` | Maven release plugin [scmCommentPrefix](https://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#scmCommentPrefix) parameter | `[ci skip][maven-release-plugin]` |
| `MVN_SEMREL_RELEASE_DISABLED` | Set to `true` to disable [semantic-release integration](#semantic-release-integration) | `[ci skip][maven-release-plugin]` |
......
......@@ -76,10 +76,10 @@ variables:
-Dformats=HTML,JSON,XML
# Maven deploy arguments
MAVEN_DEPLOY_ARGS: "deploy -DskipTests"
MAVEN_DEPLOY_ARGS: "deploy -Dmaven.test.skip=true"
# Maven release arguments
MAVEN_RELEASE_ARGS: "release:prepare release:perform -Darguments=-DskipTests"
MAVEN_RELEASE_ARGS: "release:prepare release:perform -Darguments=-Dmaven.test.skip=true"
MAVEN_RELEASE_SCM_COMMENT_PREFIX: "[ci skip][maven-release-plugin]"
stages:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment