jenkins:updateparameterizedbuildnumber

Full name:

org.kuali.maven.plugins:jenkins-maven-plugin:1.2.7: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.
User property is: jenkins.jobConfigFile.
jobs String - Comma separated list of job names
User property is: jenkins.jobs.
jobsDir File - Directory where jobs live
Default value is: /var/lib/jenkins/jobs.
User property is: jenkins.jobsDir.
parameterName String - The name of the build parameter that holds the build number
Default value is: NUMBER.
User property is: jenkins.parameterName.

Parameter Details

jobConfigFile:

The name of the file where jenkins stores job configuration info
  • Type: java.lang.String
  • Required: Yes
  • User Property: jenkins.jobConfigFile
  • Default: config.xml

jobs:

Comma separated list of job names
  • Type: java.lang.String
  • Required: Yes
  • User Property: jenkins.jobs

jobsDir:

Directory where jobs live
  • Type: java.io.File
  • Required: Yes
  • User Property: 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
  • User Property: jenkins.parameterName
  • Default: NUMBER