Daniel Beck commented on Bug JENKINS-27353

This issue still does not make sense to me.

Assuming you have:
Freestyle project A, which triggers
Matrix project B, with axis "default"

I assume the following is true after you start A:
cause of build of A: Started by user
cause of build of B: Started by A #xxx, which is started by user
cause of build of default axis of B ("B/default"): Started by B #yyy, which is started by A #xxx, which is started by user

(calling cause.getUpstreamCauses() recursively).

If so, that's entirely sensible. The build of B/default was started by the build of B, and that in turn was started by A. No build of A did start the build of B/default, the build of B did.

Note that multiple causes are generally used when a single build was started for multiple reasons, e.g. when a build, while in the queue after triggered by an SCM change, was also triggered by a user clicking "Build Now". Or a job that takes 10 minutes per build and is configured to build every minute, will have ~10 separate timer trigger causes per build.

If I'm wrong in my assumptions above, please tell me. So far everything looks like it should AFAIUI.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to