Fix conflict between property and task name

This commit is contained in:
Sebastian Sdorra
2021-02-08 13:21:28 +01:00
parent b3caa607cf
commit fbf75ba580
3 changed files with 6 additions and 6 deletions

2
Jenkinsfile vendored
View File

@@ -96,7 +96,7 @@ pipeline {
}
steps {
withPublishEnivronment {
gradle "-Pdistribution publish"
gradle "-PenablePackaging publish"
}
}
}

View File

@@ -111,14 +111,14 @@ If you want to wait until a debugger is attached, before SCM-Manager starts you
SCM-Manager provides various modules to deploy SCM-Manager on differnt platforms (e.g. Docker, Helm, RPM, DEB, Windows).
Those modules are not build by default.
To build the distribution modules specify the `distribution` property e.g.:
To build the distribution modules specify the `enablePackaging` property e.g.:
```bash
# on unix
./gradlew -Pdistribution distribution
./gradlew -PenablePackaging distribution
# on windows
gradlew.bat -Pdistribution distribution
gradlew.bat -PenablePackaging distribution
```
### Properties for publishing

View File

@@ -70,8 +70,8 @@ include 'scm-it'
// Do not add scm-packaging modules to every build,
// These modules drastically increase the time Gradle spends in the configuration phase.
// To build a distribution of SCM-Manager you have to pass -Pdistribution
if (settings.hasProperty("distribution")) {
// To build a distribution of SCM-Manager you have to pass -PenablePackaging
if (settings.hasProperty("enablePackaging")) {
include 'scm-packaging:unix'
include 'scm-packaging:windows'
include 'scm-packaging:deb'