[Build] Update submodules to remote tip only on non-maintenance branches#3308
Conversation
This prevents maintenance branches from fetching the latest changes on the master branches of all submodules and therefore failing all builds early (because the submodule expect a newer parent-pom version). Follow-up on: - eclipse-platform#3000
|
Another alternative might be to update the The and But as this is more work to implement, I would leave that for later. |
I have already disabled that option in the configuration of this repos Jenkins multi-branch pipeline project and it seems to work as desired. A PR to the 4.37_maintenance branch can have a successful build: |
I have already reverted that shortly after I applied it.
This was now implemented in Therefore this is obsolete and can be abandoned. |
This prevents maintenance branches from fetching the latest changes on the master branches of all submodules and therefore failing all builds early (because the sub-module expect a newer parent-pom version).
The multi-branch pipeline of this repo must then be configured to
nothaveUpdate tracking submodules to tip of branchenabled.Follow-up on: