Hi,
I have setup a jenkins controller and some agents (Linux and Windows).
Every project uses a pipeline via a Jenkinsfile.
Within the build-matrix I have 4 targets (‘Release’, ‘Debug’, ‘Test’ and ‘Prototype’). The source-code is mainly written in C. The result of every target will be a hex-file which could be flashed to a controller.
When I use 1 as the number available executors on the windows-based agent where the compiler is installed, the code compiles correctly. So it’s not a code issue.
As soon as I set the number of executors to 2 or more, the exact same code breaks at different points with weird syntax errors or missing libs.
The windows agent is a Windows 2019 Server as a virtual machine.
I already seperated build-workspaces, but the problem persists. I can confirm that every branch/target is in a seperate folder within the build-workspace, so no overlapping things here.
Does anyone every expierenced such strange behaviour?
I struggle with this for a while now and have no idea what to look for - any hints are very welcome.
Things I will try next:
- Setup another windows-based build-agent on my laptop to verify that the problem does not exist there - so I can confirm that it is not an issue of jenkins.
Thanks in advance
Ben