We have a Unity Project that we build with Jenkins. And you can enable incremental building for those builds. That means if I build branch1 ones it takes around 50 min. But if I build a commit to that branch it only takes 15 min.
Now for every new branch, it creates a new folder and the initial build takes around an hour. If we would use a normal pipeline it would build every branch into one directory and all of those builds would only take 15 min. but we would lose the overview in Jenkins.
Current State:
Workspace
├── Branch1
├── Branch2
├── Branch3
What I want:
Workspace
├── Branch1 | Branch 2 | Branch 3
Is there a way to build only to one directory for all Branches with a multibranch pipeline and keep the overview in Jenkins?