Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

How to integrate TestRail with Jenkins?


I am trying to integrate TestRail with Jenkins where I want to run some test cases from test rail which calls the test cases in jenkins, and then writes the result back to TestRail itself, or something similar to this.

I know there is an API for this, but so far I am not able to figure out how to go ahead with this API.

Any suggestions would be of great help.


Hello WayneWelch,

Thank you for the post! We have many teams using TestRail with Jenkins and other continuous integration tools. There are even third-party plugins specifically for Jenkins (for example That said, we would highly recommend simply using TestRail’s API to integrate your automated tests directly with TestRail:

This is the easiest and most robust approach. When your automated tests are then triggered by Jenkins or any other way, the results would be submitted to TestRail. This is how almost all teams use TestRail with Jenkins and we highly recommend this approach as well, as this is much more flexible than using a specific Jenkins plugin. We would generally recommend simply integrating TestRail’s API directly with your automated test scripts.

I hope this helps!

Kind regards,