mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 08:06:09 +01:00
Fix conflict between property and task name
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -96,7 +96,7 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
withPublishEnivronment {
|
||||
gradle "-Pdistribution publish"
|
||||
gradle "-PenablePackaging publish"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user