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

update-job from cli doesn't update downstream dependencies

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cli
    • None

      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.

          [JENKINS-11636] update-job from cli doesn't update downstream dependencies

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

          Nicolas De Loof added a comment - CLI uses the save() action, but the equivalent UI action doConfigSubmit does a full dependencyGraph update

          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.

          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.

          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

          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

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

              Created:
              Updated:
              Resolved: