Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from jhinrichsen/master
[JENKINS-17523] feat: Enable passing job parameter as properties
- Loading branch information
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/resources/hudson/plugins/gradle/Gradle/help-passAsProperties.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<p> | ||
Jenkins job parameters can be passed to Gradle either as Java system properties (<tt>-D</tt>), or as Gradle | ||
properties (<tt>-P</tt>). Using properties has the advantage that job parameters are directly accessible in the | ||
Gradle DSL, e.g. <tt>project.hasProperty(...)</tt>. | ||
</p> |