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

Workflow integration for Parameterized Trigger

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently hudson.plugins.parameterizedtrigger.BuildTriggerConfig and related classes is designed to assume that the downstream project is an AbstractProject, preventing it from triggering a WorkflowJob in schedule (see also perform, perform2, DescriptorImpl.doCheckProjects, etc.).

      This could probably be relaxed by just checking for a Job & Queue.Task from which you can schedule a job with a little difficulty (check ParameterizedJob.getQuietPeriod and Job.isBuildable); or perhaps SCMTriggerItem whose scheduleBuild2 is more convenient.

      Should work smoothly for TriggerBuilder. For BuildTrigger, can work to the extent that canDeclare is made to be false, so that the triggering is done explicitly rather than via DependencyDeclarer (and thus the DependencyGraph, which at least for now is restricted to AbstractProject).

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            ikedam ikedam made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-26009 [ JENKINS-26009 ]
            jglick Jesse Glick made changes -
            Summary Workflow integration Workflow integration for Parameterized Trigger
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-27965 [ JENKINS-27965 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-28113 [ JENKINS-28113 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-28071 [ JENKINS-28071 ]
            svanoort Sam Van Oort made changes -
            Assignee huybrechts [ huybrechts ] Sam Van Oort [ svanoort ]
            svanoort Sam Van Oort made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            svanoort Sam Van Oort made changes -
            Remote Link This issue links to "In-progress PR (Web Link)" [ 12982 ]
            svanoort Sam Van Oort made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-29913 [ JENKINS-29913 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-30040 [ JENKINS-30040 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 160040 ] JNJira + In-Review [ 196290 ]
            abayer Andrew Bayer made changes -
            Labels workflow pipeline workflow
            abayer Andrew Bayer made changes -
            Labels pipeline workflow pipeline

              People

              • Assignee:
                svanoort Sam Van Oort
                Reporter:
                jglick Jesse Glick
              • Votes:
                15 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: