-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: gradle-plugin
-
Environment:gradle-plugin 1.27.1
jenkins 2.19
os: 2.6.32-573.22.1.el6.x86_64
java 1.7.0
There are some properties that I wish were set globally for all of my jobs/nodes. Â Â I wish to control this in one place and be additive to what might already be set in that job/node for the user. Â ie: mvn_user, mvn_password
Our current example is setting the maven username and password for our private Nexus OSS repo. Â I am certain this can expand to other use cases. Â
Expected:
Jenkins Configuration Section
Gradle Project Configuration
  gradle.properties: [ADD PROPERTY]Â
   <?> = Adds or Edits properties found in ~/.gradle/gradle.properties for the running job.  If the property is not present it will be added.  If the property is present it will be edited to have this value. Â
 [ADD PROPERTY] type: user/pass  (button for adding a user giving the option to set the key name for each part...user and password
 [ADD PROPERTY] type: key/value (two text boxes on for key and one for value)
 [ADD PROPERTY] type: script (allows for runtime groovy script to be executed and properties to be added after script logic generates keys and values.Â