jenkins:updateparameterizedbuildnumber
Full name:
org.kuali.maven.plugins:jenkins-maven-plugin:1.2.1:updateparameterizedbuildnumber
Description:
Update the default value of the parameterized build number for the
indicated jobs so it matches the build number of the currently
executing job. Note that this updates the config.xml on the local
file system and will have no affect until Jenkins is restarted or
configuration is reloaded from disk.
Attributes:
- Requires a Maven project to be executed.
Required Parameters
Name |
Type |
Since |
Description |
jobConfigFile |
String |
- |
The name of the file where jenkins stores job configuration info Default value is: config.xml. |
jobs |
String |
- |
Comma separated list of job names
|
jobsDir |
File |
- |
Directory where jobs live Default value is: /var/lib/jenkins/jobs. |
parameterName |
String |
- |
The name of the build parameter that holds the build number Default value is: NUMBER. |
Parameter Details
jobConfigFile:
The name of the file where jenkins stores job configuration info
- Type: java.lang.String
- Required: Yes
- Expression: ${jenkins.jobConfigFile}
- Default: config.xml
jobs:
Comma separated list of job names
- Type: java.lang.String
- Required: Yes
- Expression: ${jenkins.jobs}
jobsDir:
Directory where jobs live
- Type: java.io.File
- Required: Yes
- Expression: ${jenkins.jobsDir}
- Default: /var/lib/jenkins/jobs
parameterName:
The name of the build parameter that holds the build number
- Type: java.lang.String
- Required: Yes
- Expression: ${jenkins.parameterName}
- Default: NUMBER