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

update-job from cli doesn't update downstream dependencies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cli
    • Labels:
      None
    • Similar Issues:

      Description

      How to reproduce :

      create job J1 with parameterized trigger to launch J2 as downstream
      run J1, J2 gets triggered.

      get J1 config and remove the Parameterized trigger stuff. Use update-job CLI to update the job
      /job/J1/configure is updated as expected

      run J1. J2 is still triggered !

      save from /job/J1/configure. run J1, J2 is not triggered anymore.

        Attachments

          Activity

          Hide
          ndeloof Nicolas De Loof added a comment -

          CLI uses the save() action, but the equivalent UI action doConfigSubmit does a full dependencyGraph update

          Show
          ndeloof Nicolas De Loof added a comment - CLI uses the save() action, but the equivalent UI action doConfigSubmit does a full dependencyGraph update
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/AbstractItem.java
          http://jenkins-ci.org/commit/jenkins/a4ba526dc9693b5b10c11d9a27eca63ba37e7b7b
          Log:
          [FIXED JENKINS-11636] update-job CLI command doesn't rebuild dependency.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/AbstractItem.java http://jenkins-ci.org/commit/jenkins/a4ba526dc9693b5b10c11d9a27eca63ba37e7b7b Log: [FIXED JENKINS-11636] update-job CLI command doesn't rebuild dependency.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #1276
          [FIXED JENKINS-11636] update-job CLI command doesn't rebuild dependency.

          Kohsuke Kawaguchi : a4ba526dc9693b5b10c11d9a27eca63ba37e7b7b
          Files :

          • core/src/main/java/hudson/model/AbstractItem.java
          • changelog.html
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1276 [FIXED JENKINS-11636] update-job CLI command doesn't rebuild dependency. Kohsuke Kawaguchi : a4ba526dc9693b5b10c11d9a27eca63ba37e7b7b Files : core/src/main/java/hudson/model/AbstractItem.java changelog.html

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ndeloof Nicolas De Loof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: