Search code examples
jenkinsiar

Unable to build IAR from Jenkins


I'm having problems building an IAR project from Jenkins windows batch plugin. However the same command works perfectly fine directly from the same machines built in command prompt.

Build command: "C:\Program Files\IAR Systems\Embedded Workbench 6.4\common\bin\iarbuild" protective\iar_project\cpup_project.ewp -build Debug -log all

When building from Jenkins the following error occur:

Fatal Error[c0000142]: Uncontrolled termination

Error while running C/C++ Compiler

The same build, that is the exact same version, has previously worked from Jenkins too. No aditional upgrades has been made to Jenkins.

System: Windows XP

Jenkins version: 1.466.1

Does anyone know what this is caused by?

How can I correct it?


Solution

  • Problem solved.

    I have an additional webserver running with a wiki on the same machine, when I stopped this service (Apache) the IAR build worked again!

    I really don't know what could be the conflict between the windows batch command in Jenkins and the Apache webserver. Jenkins and the webserver run on completely different ports.