Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
406 views
in Technique[技术] by (71.8m points)

automation - Trigger CI build (Jenkins) from TestRail cloud

I'm trying to integrate our TestRail Cloud with Jenkins build for automated tests

From the official doc I need to do:

The trigger script (trigger.php) needs to be placed into TestRail’s installation directory on the web server next to TestRail’s index.php file.

How to do it for TestRail Cloud?

question from:https://stackoverflow.com/questions/66061874/trigger-ci-build-jenkins-from-testrail-cloud

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

From TestRail team:

It is still possible to use to use the trigger example/approach with a TestRail Cloud account. You would simply place the server-side trigger script on the server where you would like to execute/run the tests on (usually on your private network). TestRail would not need to be able to connect to your server, as the connection/glue is made via the UI script in TestRail and via your web browser. You can also write the server-side script in any other programming language and our script is only an example. That said, most customers trigger their automated tests outside of TestRail either manually, scheduled or via a continuous integration system. They then use TestRail's API to submit the test results to TestRail.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...