> > > One possible configuration is : one Jenkins jobs for each library, one > Jenkins jobs for each product. > Then, for each library : > - Poll SCM to check if changes happened > - Build the library > - Trigger the builds of the product that relie on this library. > > For each product : > - Retrieve the libraries artifacts from the libraries jobs > - Compile the product > You can configure the products to prevent a job to run while a library it > depends upon is building (advanced project option - do not build when > upstream project is building) > Sorry, but this solution does not suit me. Assembling one product can take about an hour. Last duration for some libraries: 9 min, 14 min, 26 min, 33 min
I want to run the assembly of the product on demand - and with all the necessary libraries must be updated. But I can not afford to build all libraries prior to building of the product. And I can not afford the rebuilding of products at each change in libraries.