RTC SCM Git: Are there ways to customise python scripts in post-receive git hooks (eg AssociateWorkitem.py) to output debug information to file?
There are python files that is developed as part of IBM RTC git integration, (eg AssociateWorkitem.py and ValidatePush.py) that are run as post receive git hooks.
Are there ways to customise these files in order to print debugging messages to file? (messages such as whether the scripts are correctly run etc) We tried adding: export DEBUG_PYT=true to post-receive, though that would display the information on the command line, and doesn't allow for it to be outputted to file. |
2 answers
Created RFE since it is not possible:
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=93368 |
Thanks George!
We were able to output logs using Python's standard output function.
After this
Comments
George Harada
commented Dec 26 '16, 9:36 p.m.
Josako-san,
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.