when build configuration snapshot depends on composite build the build is suitable only from the second run

A is a composite build configuration. B is a build configuration (doesn't matter its type). B snapshot depends on A with both "Do not run new build if there is a suitable one" and "Only use successful builds from suitable ones" enabled. Diagram: A(composite) <-- B. When I run B for the first time A is ran also and creates new build as expected. When I run B for the second time I would expect the optimizer to use the first build of A, but actually what happens is that it doesn't find the first build of A as suitable and reruns again A. If I run B for the third time, it actually does find the second build of A as suitable and doesn't rerun A.

This is reproduced every time, and both build configurations have nothing else configured from what I stated.

1 comment

Hi Eyal,

may I ask you to create an issue in our tracker: https://youtrack.jetbrains.com/issues/TW . It would seem to be a bug of sorts and it might need deeper investigation that what we can provide here in the forums.


Please sign in to leave a comment.