[JIRA] Created: (HUDSON-5708) Multiple triggers not working. Only first trigger works.

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5708) Multiple triggers not working. Only first trigger works.

Hudson issues mailing list
Multiple triggers not working. Only first trigger works.
--------------------------------------------------------

                 Key: HUDSON-5708
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5708
             Project: Hudson
          Issue Type: Bug
          Components: parameterized-trigger
    Affects Versions: current
         Environment: Windows XP
            Reporter: EJSchuiteman
            Assignee: huybrechts
         Attachments: hudson_parameterized_builds.jpg

We're using version 2.3 of this plugin.

We have two triggers for our project, stable and unstable. Both trigger the same project but with a different variable value. See screenshot.

When our build is unstable (and we have the unstable trigger in first place) the downstream project is triggered and it works fine. But when our build is stable no project is triggered.

When we put stable on first place and unstable second. The same thing occurs. Stable triggers the downstream project and unstable not.

I hope you can solve this for us.

Kind regards,

Evert-Jan


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5708) Multiple triggers not working. Only first trigger works.

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139353#action_139353 ]

mindless commented on HUDSON-5708:
----------------------------------

Hm, this occurs because the DependencyGraph that Hudson maintains originally had no logic associated with the connections (a downstream job would always trigger).  Thus, it has logic ignore dependencies connecting 2 projects that are already connected.  However, here we connect the same 2 projects with dependencies using both different logic for when to trigger, and how to trigger (parameters).
I tried the quick-fix in hudson core of simply removing the duplicate check.. this seems to work (my "unstable" trigger ran), although on the project page I now see the downstream project listed twice.  The other question here is: if we allow multiple connections between projects A and B, should we allow B to be triggered more than once if the "should-trigger?" logic for more than one dependency DOES pass?  My initial thought here is that we can allow it, and let the Queue deal with this (I think it'll already reject a complete duplicate, and allow the same project more than once if the parameters are different.. although, not sure what happens here if the job allows concurrent builds).


> Multiple triggers not working. Only first trigger works.
> --------------------------------------------------------
>
>                 Key: HUDSON-5708
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5708
>             Project: Hudson
>          Issue Type: Bug
>          Components: parameterized-trigger
>    Affects Versions: current
>         Environment: Windows XP
>            Reporter: EJSchuiteman
>            Assignee: huybrechts
>         Attachments: hudson_parameterized_builds.jpg
>
>
> We're using version 2.3 of this plugin.
> We have two triggers for our project, stable and unstable. Both trigger the same project but with a different variable value. See screenshot.
> When our build is unstable (and we have the unstable trigger in first place) the downstream project is triggered and it works fine. But when our build is stable no project is triggered.
> When we put stable on first place and unstable second. The same thing occurs. Stable triggers the downstream project and unstable not.
> I hope you can solve this for us.
> Kind regards,
> Evert-Jan

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-5708) Multiple triggers not working. Only first trigger works.

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mindless reassigned HUDSON-5708:
--------------------------------

    Assignee: mindless  (was: huybrechts)

> Multiple triggers not working. Only first trigger works.
> --------------------------------------------------------
>
>                 Key: HUDSON-5708
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5708
>             Project: Hudson
>          Issue Type: Bug
>          Components: parameterized-trigger
>    Affects Versions: current
>         Environment: Windows XP
>            Reporter: EJSchuiteman
>            Assignee: mindless
>         Attachments: hudson_parameterized_builds.jpg
>
>
> We're using version 2.3 of this plugin.
> We have two triggers for our project, stable and unstable. Both trigger the same project but with a different variable value. See screenshot.
> When our build is unstable (and we have the unstable trigger in first place) the downstream project is triggered and it works fine. But when our build is stable no project is triggered.
> When we put stable on first place and unstable second. The same thing occurs. Stable triggers the downstream project and unstable not.
> I hope you can solve this for us.
> Kind regards,
> Evert-Jan

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-5708) Multiple triggers not working. Only first trigger works.

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

scm_issue_link resolved HUDSON-5708.
------------------------------------

    Resolution: Fixed

> Multiple triggers not working. Only first trigger works.
> --------------------------------------------------------
>
>                 Key: HUDSON-5708
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5708
>             Project: Hudson
>          Issue Type: Bug
>          Components: parameterized-trigger
>    Affects Versions: current
>         Environment: Windows XP
>            Reporter: EJSchuiteman
>            Assignee: mindless
>         Attachments: hudson_parameterized_builds.jpg
>
>
> We're using version 2.3 of this plugin.
> We have two triggers for our project, stable and unstable. Both trigger the same project but with a different variable value. See screenshot.
> When our build is unstable (and we have the unstable trigger in first place) the downstream project is triggered and it works fine. But when our build is stable no project is triggered.
> When we put stable on first place and unstable second. The same thing occurs. Stable triggers the downstream project and unstable not.
> I hope you can solve this for us.
> Kind regards,
> Evert-Jan

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5708) Multiple triggers not working. Only first trigger works.

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139356#action_139356 ]

scm_issue_link commented on HUDSON-5708:
----------------------------------------

Code changed in hudson
User: : mindless
Path:
 trunk/hudson/main/core/src/main/java/hudson/model/DependencyGraph.java
 trunk/www/changelog.html
http://hudson-ci.org/commit/31934
Log:
[FIXED HUDSON-5708] collect multiple dependencies between same 2 projects into
a DependencyGroup container; container checks each collected dependency and
returns when the first one returns true for shouldTriggerBuild.


> Multiple triggers not working. Only first trigger works.
> --------------------------------------------------------
>
>                 Key: HUDSON-5708
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5708
>             Project: Hudson
>          Issue Type: Bug
>          Components: parameterized-trigger
>    Affects Versions: current
>         Environment: Windows XP
>            Reporter: EJSchuiteman
>            Assignee: mindless
>         Attachments: hudson_parameterized_builds.jpg
>
>
> We're using version 2.3 of this plugin.
> We have two triggers for our project, stable and unstable. Both trigger the same project but with a different variable value. See screenshot.
> When our build is unstable (and we have the unstable trigger in first place) the downstream project is triggered and it works fine. But when our build is stable no project is triggered.
> When we put stable on first place and unstable second. The same thing occurs. Stable triggers the downstream project and unstable not.
> I hope you can solve this for us.
> Kind regards,
> Evert-Jan

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5708) Multiple triggers not working. Only first trigger works.

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139357#action_139357 ]

mindless commented on HUDSON-5708:
----------------------------------

note this is a fix in Hudson core.. you don't need a new parameterized-trigger plugin, just upgrade to Hudson 1.363 or higher when it comes out.

> Multiple triggers not working. Only first trigger works.
> --------------------------------------------------------
>
>                 Key: HUDSON-5708
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5708
>             Project: Hudson
>          Issue Type: Bug
>          Components: parameterized-trigger
>    Affects Versions: current
>         Environment: Windows XP
>            Reporter: EJSchuiteman
>            Assignee: mindless
>         Attachments: hudson_parameterized_builds.jpg
>
>
> We're using version 2.3 of this plugin.
> We have two triggers for our project, stable and unstable. Both trigger the same project but with a different variable value. See screenshot.
> When our build is unstable (and we have the unstable trigger in first place) the downstream project is triggered and it works fine. But when our build is stable no project is triggered.
> When we put stable on first place and unstable second. The same thing occurs. Stable triggers the downstream project and unstable not.
> I hope you can solve this for us.
> Kind regards,
> Evert-Jan

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5708) Multiple triggers not working. Only first trigger works.

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139358#action_139358 ]

mindless commented on HUDSON-5708:
----------------------------------

(and with regards to my self-debate above.. this only triggers the downstream project once.. stops looking at other dependencies after one triggers the job)

> Multiple triggers not working. Only first trigger works.
> --------------------------------------------------------
>
>                 Key: HUDSON-5708
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5708
>             Project: Hudson
>          Issue Type: Bug
>          Components: parameterized-trigger
>    Affects Versions: current
>         Environment: Windows XP
>            Reporter: EJSchuiteman
>            Assignee: mindless
>         Attachments: hudson_parameterized_builds.jpg
>
>
> We're using version 2.3 of this plugin.
> We have two triggers for our project, stable and unstable. Both trigger the same project but with a different variable value. See screenshot.
> When our build is unstable (and we have the unstable trigger in first place) the downstream project is triggered and it works fine. But when our build is stable no project is triggered.
> When we put stable on first place and unstable second. The same thing occurs. Stable triggers the downstream project and unstable not.
> I hope you can solve this for us.
> Kind regards,
> Evert-Jan

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]