Page 1 of 1

Use ranorex remote agent with teamcity?

Posted: Tue Mar 26, 2019 2:08 pm
by MJesper
Hi, I'm able to start a ranorex remote agent by using the /agent command line parameter from TeamCity, but whenever I stop a TeamCity build it wont stop the ranorex agent, it will continue running (if I manually stop it). What I want is some sort of communciation between the two where if I stop a TeamCity build I want it to stop in ranorex studio and when I stop it in Ranorex studio I want it to stop in teamcity too.

Re: Use ranorex remote agent with teamcity?

Posted: Mon Apr 01, 2019 3:11 pm
by McTurtle
Hi MJesper,

It's the same with Jenkins. But the issue is not with Ranorex. When you abort a job in Jenkins, then it kills the Ranorex test. When the Ranorex test process is killed, then that process does not have time to send a signal to the agent to stop the test execution. The agent on the other hand does not care what happened to the process that started the job, it just tends to it's job queue.

The issue is probably exactly the same as what is written here: Cancelling build does not cancel tests

IMHO, this is not resolvable by Ranorex devs, but can only be resolved by TeamCity devs.

Regards,
McTurtle