Re: Skip Initial Build on First Branch Indexing: Skipping for all new branches

2021-06-18 Thread Sverre Moe
Keep it: Every branch will not build its first push. Remove it: Every branch will be built once when the projects runs indexing. Headache if I don't, headache if I do. Decided to remove it. The SkipFirstBranchIndexing is flawed. It did not work the way I expected it to. søndag 13. juni 2021 kl.

Skip Initial Build on First Branch Indexing: Skipping for all new branches

2021-06-13 Thread Sverre Moe
I tried to add a BuildStrategy to the BranchSource, to skip the first branch indexing. I did this to avoid Jenkins to build all branches after changing the SCM configuration. Otherwise Jenkins would have to build 400+ repositoris with 20-30 branches in each. final def buildStrategies =