chillax786
chillax786

Reputation: 369

Integrating TeamCity Build Results in JIRA

I want to integrate the result of my build as a comment in my JIRA tickets. Is there a way this can be achieved. This seemed promising: https://github.com/mamirov/jirareporter/wiki/TeamCity-JIRA-Reporter-(ENG)

However, I can't seem to get it to work. My build agent doesn't seem to run this step (the last step - JIRA Reporter)

Is there any way or any tools I can make use of to achieve my objective of integrating my build results from TeamCity into a JIRA ticket as a comment?

Upvotes: 1

Views: 969

Answers (2)

Yaegor
Yaegor

Reputation: 1832

There is a dedicated Jira plugin for TeamCity integration. It is not free but might be well worth the price.

As to JIRA Reporter: For the build step to execute even for a failed build make sure to set step's "Execution policy" in the advanced settings of the step to "Even if some of previous steps failed".

Upvotes: 1

Shago
Shago

Reputation: 605

You could use REST API to create the comment.

Upvotes: 1

Related Questions