Hello,
I'm currently trying to configure a Jenkins project to build a MCUXpresso project. MCUXpresso is a Eclipse-based IDE.
To do so, I am Executing Windows batch command as follows :
C:\NXP\MCUXpressoIDE_10.0.0_344\ide\mcuxpressoidec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "my_workspace" -cleanBuild "my_project" --launcher.suppressErrors
By looking at the console output, with a few differences the build is quit similar to the one in MCUXpresso. Yet, I still have a Java exception at the end and the build fails.
What make me think the problem comes from my Jenkins configuration is that when I use exactly the same command in my shell, the build is correct.
I made a lot of research (even on this
https://wiki.jenkins.io/display/JENKINS/My+software+builds+on+my+computer+but+not+on+Jenkins) but I still don't find the answer to this question :
What is the difference between the command prompt (where the batch command works) and Jenkins ?
Thank you.