Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16820

Label expression changed, tied projects on slave status page do not update

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins ver. 1.500 or 1.501(not tested with older versions)
      Windows (any version, both 32bit and 64bit)
      Sun Microsystems Inc. Java(TM) SE Runtime Environment 1.6.0_26-b03

      After updating a label expression on a maven2/3 project build job, the tied projects on status page of a slave node do not update until the next build of the project.

      Steps to reproduce bug:
      1. Create a slave node (for this example I will name it slave102)
      2. Create a new maven2/3 project build job (for this example I will name it TestBug)
      3. Set SVN to an existing maven project and set the build parameters as required (for this example I used clean install)
      4. Set “Restrict where this project can be run” to true and set “Label Expression” to “slave102” (without quotes)
      5. Go to slave102 status page and it will now show TestBug under Projects tied to slave102
      6. Run a build of TestBug
      7. Build should be a SUCCESS
      8. Edit TestBug project and set the “Label Expression” to “” (without quotes)
      9. Go to slave102 status page and it will still show TestBug under Projects tied to slave102

      If you run another build on TestBug the tied slaves will update correctly. The status page seems to be using the builtOn value in the build.xml from the last build in the above case.

            Unassigned Unassigned
            allan_peacock Allan Peacock
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: