Christian Babeux created JENKINS-12642:
------------------------------------------

             Summary: Build name only applied to multi-configuration axis
                 Key: JENKINS-12642
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12642
             Project: Jenkins
          Issue Type: Bug
          Components: versionnumber
    Affects Versions: current
            Reporter: Christian Babeux


When using the version number plugin in a multiconfiguration job, the 
customized build name is only visible in the configuration axis jobs.

Example:
 
{noformat}MyJob -- Axis1
      -- Axis2
      -- Axis3{noformat}
 
Let's say we use a build name pattern like this: 
SOMESTRING-${BUILD_NAME}-#${BUILD_NUMBER}
After a succesful build the result will be:

{noformat}MyJob -- Axis1 (SOMESTRING-MyJob-#1) 
      -- Axis2 (SOMESTRING-MyJob-#1) 
      -- Axis3 (SOMESTRING-MyJob-#1){noformat}

The expected behavior would be something like this:

{noformat}MyJob (SOMESTRING-MyJob-#1) -- Axis1 (SOMESTRING-MyJob-#1) 
                            -- Axis2 (SOMESTRING-MyJob-#1) 
                            -- Axis3 (SOMESTRING-MyJob-#1){noformat}

Steps to reproduce:
- Create a new multiconfiguration job.
- Add some axis.
- In the job configuration, tick the "Create a formatted version number" 
checkbox.
- Fill any pattern in the "Version Number Format String" box.
- Tick the "Use the formatted version number for build display name." checkbox.
- Start a build.
- The custom build name will only be visible in a specific axis and not on the 
main job page.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to