Repeated builds, even with "Block when upstream in queue" checked

2 messages Options
Embed this post
Permalink
Felix Dorner-2

Repeated builds, even with "Block when upstream in queue" checked

Reply Threaded More More options
Print post
Permalink
Hi,

I have checked the "Block build when upstream project is built" (Advanced Options) for all my projects. In combination with this I use the Ivy Plugin to trigger downstream builds automatically'.

When I now start a build for the 'most upstream' project, I'd expect every project to be built exactly once. Howeverm this isn't the case, some projects are built twice in succession, how is this possible?

The problem is that I tag my artifacts with a timestamp and publish them in an ivy repository. When a project is built twice within the same minute, publishing the artifact fails because an artifact with the same name exists in the repository. A solution would be to add the hudson-build-id to the artifact's name, anyone doing something similar?



Thanks,
Felix




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

Felix Dorner-2

RE: Repeated builds, even with "Block when upstream in queue" checked

Reply Threaded More More options
Print post
Permalink
Curious, I reduced the number of build slots to 1. The result that the build gets stuck, two builds waiting for each other to complete. Just like a deadlock. The builds do however not depend on each other!




> -----Mensaje original-----
> De: Felix Dorner [mailto:[hidden email]]
> Enviado el: Wednesday, November 04, 2009 4:10 PM
> Para: [hidden email]
> Asunto: Repeated builds, even with "Block when upstream in
> queue" checked
>
> Hi,
>
> I have checked the "Block build when upstream project is
> built" (Advanced Options) for all my projects. In combination
> with this I use the Ivy Plugin to trigger downstream builds
> automatically'.
>
> When I now start a build for the 'most upstream' project, I'd
> expect every project to be built exactly once. Howeverm this
> isn't the case, some projects are built twice in succession,
> how is this possible?
>
> The problem is that I tag my artifacts with a timestamp and
> publish them in an ivy repository. When a project is built
> twice within the same minute, publishing the artifact fails
> because an artifact with the same name exists in the
> repository. A solution would be to add the hudson-build-id to
> the artifact's name, anyone doing something similar?
>
>
>
> Thanks,
> Felix
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]