This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Adding python script to postbuild generate error

I tried to add a postbuild script that speeds up a lot of my work. I wrote it in python, but I am not able to run it from CCS level.

I tried different commands:
postbuild.py (here it was not finding the path)
cd ${PROJECT_ROOT} & postbuild.py (here it didn't throw errors)
${PROJECT_ROOT}/postbuild.py (as in the screenshot)

No version was getting to the point where the script would run. I also can't find any guide on how to write such things.

  • Hello,

    The post-build step will field will simply send any command in the field to the system console to be executed as-is.

    I assume you are trying to execute a python script. If so, you should be able to run it with the python command for your python installation. Also note that you can set the post build step in the CCS Build properties also:

    Thanks

    ki