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

DependecyDeclarer always triggers builds and without Actions

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Hudson 1.340

      Currently Build.RunnerImpl.cleanUp() calls BuildTrigger.execute().. this triggers ALL jobs that have been added as downstream jobs by any DependecyDeclarer (yes, the class name has a typo).. only BuildTrigger itself gets any special handling: triggering only if status threshold is met.. if the downstream connection is made by any other impl, it will trigger the job always, even if this build failed or was aborted! Furthermore, downstream jobs are triggered with just UpstreamCause, with no opportunity for those Declarers to provide any additional Actions (like build parameters).

      Need to expand this API so Declarers can control whether a build is triggered and provide Actions to submit with the build.

          [JENKINS-5236] DependecyDeclarer always triggers builds and without Actions

          Alan Harder created issue -
          Alan Harder made changes -
          Link New: This issue is blocking JENKINS-4069 [ JENKINS-4069 ]
          Alan Harder made changes -
          Link New: This issue is blocking JENKINS-5184 [ JENKINS-5184 ]
          Alan Harder made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Alan Harder made changes -
          Assignee New: Alan Harder [ mindless ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Stig Kleppe-Jørgensen made changes -
          Status Original: Resolved [ 5 ] New: Verified [ 10000 ]
          Alan Harder made changes -
          Status Original: Verified [ 10000 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135325 ] New: JNJira + In-Review [ 203415 ]

            mindless Alan Harder
            mindless Alan Harder
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: