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

Jenkins to update milestones or custom field in TestRail with successful builds



We started using TestRail recently and would like to setup an integration where the build number from Jenkins successful build posted in TestRail milestone or custom field.

I have found this just now, but wanted check if anyone had done a similar integration to guide me around this:

Thanks in advance,


Hi Mehmet,

Thanks for your posting! Looking at the plugin, it seems that it maps each Jenkins build to a test run in TestRail. The add your build number, you could modify the plugin to either add a new milestone and link this to the test run or simply append the build number to the name of the test run. The latter is probably the better option as adding a separate milestone for each build is usually not necessary and milestones are mostly used to group related test runs.