mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 16:16:10 +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 {
|
steps {
|
||||||
withPublishEnivronment {
|
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).
|
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.
|
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
|
```bash
|
||||||
# on unix
|
# on unix
|
||||||
./gradlew -Pdistribution distribution
|
./gradlew -PenablePackaging distribution
|
||||||
|
|
||||||
# on windows
|
# on windows
|
||||||
gradlew.bat -Pdistribution distribution
|
gradlew.bat -PenablePackaging distribution
|
||||||
```
|
```
|
||||||
|
|
||||||
### Properties for publishing
|
### Properties for publishing
|
||||||
|
|||||||
@@ -70,8 +70,8 @@ include 'scm-it'
|
|||||||
|
|
||||||
// Do not add scm-packaging modules to every build,
|
// Do not add scm-packaging modules to every build,
|
||||||
// These modules drastically increase the time Gradle spends in the configuration phase.
|
// These modules drastically increase the time Gradle spends in the configuration phase.
|
||||||
// To build a distribution of SCM-Manager you have to pass -Pdistribution
|
// To build a distribution of SCM-Manager you have to pass -PenablePackaging
|
||||||
if (settings.hasProperty("distribution")) {
|
if (settings.hasProperty("enablePackaging")) {
|
||||||
include 'scm-packaging:unix'
|
include 'scm-packaging:unix'
|
||||||
include 'scm-packaging:windows'
|
include 'scm-packaging:windows'
|
||||||
include 'scm-packaging:deb'
|
include 'scm-packaging:deb'
|
||||||
|
|||||||
Reference in New Issue
Block a user