Workflow Job does not call Trigger.start() when job is created

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When a Trigger that extends Trigger<Job> is added to a job as it is being created, the start() method is not called.

      There is a test called PipelineTriggersJobPropertyTest#triggerPresentDuringStart which shows that start() is called. But in practice...in a non-test environment, it is not called.

      I created a simple MockTrigger that shows this.

      How to reproduce:

      You will notice that the start() method is not called.

      This behaviour is not consistent with Freestyle jobs.

            Assignee:
            Scott Hebert
            Reporter:
            Scott Hebert
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: