Need to create Defect in RTC if Jenkins job fail
Requirement: We are not maintaining source code at RTC level. We are using RTC for task/defect tracking.We need to integrate RTC with Jenkins. There is one jenkins job that run on daily basis. If job fails, it should automatically create RTC defect/ticket. If pass, it should send email.
For same we also want to create jenkins pipeline script.
Can someone please help here...
One answer
You need to create a work item in the command line. I have created https://github.com/jazz-community/work-item-command-line to do this.