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

Renaming a downstream job should update triggers referring to that job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      apache-tomcat-7.0.34
      SUSE Linux Enterprise Server 11 (x86_64)
      VERSION = 11
      PATCHLEVEL = 3
    • Similar Issues:

      Description

      Steps to reproduce:
      1. Create Job A.
      2. Create Job B.
      3. Set up a trigger in Job A that builds Job B.
      4. Rename Job B to Job C.

      Expected result:
      The trigger in Job A referring to Job B will be automatically updated so that it continues to work, now referring to Job C.

      Actual result:
      The trigger in Job A still refers to the defunct Job B. It must be manually edited to continue working.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/plugins/parameterized-trigger/src/main/java/hudson/plugins/parameterizedtrigger/BuildTrigger.java
          trunk/hudson/plugins/parameterized-trigger/src/main/java/hudson/plugins/parameterizedtrigger/BuildTriggerConfig.java
          trunk/hudson/plugins/parameterized-trigger/src/main/java/hudson/plugins/parameterizedtrigger/Plugin.java
          trunk/hudson/plugins/parameterized-trigger/src/test/java/hudson/plugins/parameterizedtrigger/test/CurrentBuildParametersTest.java
          http://jenkins-ci.org/commit/33357
          Log:
          [parameterized-trigger] [FIXED JENKINS-6483] Add ItemListener to update
          build triggers when other jobs are renamed or deleted.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/plugins/parameterized-trigger/src/main/java/hudson/plugins/parameterizedtrigger/BuildTrigger.java trunk/hudson/plugins/parameterized-trigger/src/main/java/hudson/plugins/parameterizedtrigger/BuildTriggerConfig.java trunk/hudson/plugins/parameterized-trigger/src/main/java/hudson/plugins/parameterizedtrigger/Plugin.java trunk/hudson/plugins/parameterized-trigger/src/test/java/hudson/plugins/parameterizedtrigger/test/CurrentBuildParametersTest.java http://jenkins-ci.org/commit/33357 Log: [parameterized-trigger] [FIXED JENKINS-6483] Add ItemListener to update build triggers when other jobs are renamed or deleted.
          Hide
          ckuehn82 Christoph Kühn added a comment -

          I have the same Problem on Jenkins ver. 1.617 and the
          Parameterized Trigger plugin Version is 2.26

          Show
          ckuehn82 Christoph Kühn added a comment - I have the same Problem on Jenkins ver. 1.617 and the Parameterized Trigger plugin Version is 2.26

            People

            • Assignee:
              huybrechts huybrechts
              Reporter:
              malfunction84 Mark Lewis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: