Classic - How to use dashboard (Jenkins) to build a CodeWarrior project?

Document created by Pascal Irrle Employee on Sep 25, 2015Last modified by ebiz_ws_prod on Dec 13, 2017
Version 4Show Document
  • View in full screen mode

Classic - How to use dashboard (Jenkins) to build a CodeWarrior project?

            Valid for all Classic IDE versions - CW for MCU V6.x, CW for PA V8.8, etc ...


Configuration used:

                Native installation Win 7 Enterprise 64 bit

                Jenkins ver 1.624.



                Multiple CodeWarrior installations including CW for MGT V9.2

                Example based on CW for MGT V9.2


You should have installed Jenkins (V1.624 for this note) and CW for MGT V9.2 or any other classic versions.

When the Jenkins installation is finished, the IE is automatically launched with http://localhost:8080/


To start Jenkins under IE I should plug it under http://localhost:8080/




If you can not access to the web page, you must check than Jenkins service is running.

Open a Command Prompt and go to C:\Program Files (x86)\Jenkins

Here you can type:

                Net stop Jenkins

                Net start Jenkins




To avoid problem I've manually removed the project under C:\Program Files (x86)\Jenkins folder and performed from menu: Jenkins + Manage Jenkins + Reload configuration from disk


By this way I've a clean installation.


Now I've created a new item where I defined the project and added the dir command to be sure Jenkins is using the right path. I copied and extracted the zip file ( in the workspace created.



Check the .bat file is correctly configured for your PC installation (CodeWarrior Folder).

If you execute the bat file, it should work fine outside Jenkins too.

If it's not the case you must review the .bat file.


After that I added a new build step for my_test.bat.

Now when I clicked on Build Now, the my_test.bat is executed.



Attached a video showing the process, this doc in word doc, and the example I'm using

Original Attachment has been moved to:

1 person found this helpful