We're invoking builds from a continuous integration server (Jenkins) using the eclipse headless build feature. There're multiple build jobs configured each with their own private workspace. Jobs are running in parallel to each other so multiple eclipse builds can be run at the same time.
We're facing a problem that sometimes during the middle of the build the compiler command could not be resolved anymore; 'arm-none-eabi-gcc: command not found'. Our eclipse projects are configured to resolve the toolchain from the windows path. I've read in the gnu-arm documentation that this is not recommended so I would like to configure the toolchain path through the gnu-arm settings.
Our Jenkins build jobs are configured to clean up all local changes before invoking an eclipse build, effectively removing the eclipse workspace as well. This is to make sure we always have a clean build environment. Is it possible to provide the toolchain path through the eclipse command line invocation?