Running external automation tests.

Answered

Hello,

we are using TC environment with hundreds of configurations and around 50 agents, recently we added additional step to some of our build. This step only runs long automation tests in external system (around 6 hours) but this is unfortunately blocking this agent until the results are done. Is there a way to have such step without blocking any agent but still be able to see results of those automated tests in TC? Looks like a waste of licenses for an agent which only waits all day. 

Thanks!

Ondrej

4 comments

Hello Ondrej,

Currently agentless builds are not supported. We have the related request in our tracker https://youtrack.jetbrains.com/issue/TW-30777, please comment/vote for it.

0

Hello Alina,

thank you for your response. That feature request describes it well so I voted too. Regardless, I still believe this should be feasible to do via own plugin. Something similar to Squish plugin. Or am I wrong?
https://kb.froglogic.com/display/KB/Running+GUI+tests+in+parallel+on+a+single+host

Thanks!

Ondrej

0

In the article you linked two build configurations are used to run tests in parallel. One agent can run one build configuration at a time. If you want to run tests in parallel you can split them to several build configurations or implement parallel execution inside a single build, so that it is visible as a single build in TeamCity, but runs multiple threads inside.

At the moment it's not possible to run build without using agent, because there is no API to report results back to TeamCity. While there is no ability to change build status via REST API, there is via web UI and as workaround you can send an HTTP request from a script like that sent by the browser on changing the build status.

0

Please sign in to leave a comment.