How do I set agent requirement to 'only interactive agents'

I have a Selenium test suite that I want to run only on agents that are running interactively. What parameter can I use to determine this?

0
4 comments

I think env.SESSIONNAME=Console is a good option.

0
Avatar
Permanently deleted user

I use properties in conf/buildAgent.properties like

support.maven3=true
support.selenium=true
support.headless=true

and then define an agent requirement on the build configuration like

support.selenium equals true

0

yes, you can set additional parameters explicitly, but they do not reflect actual system state

0
Avatar
Permanently deleted user

This works perfectly, thank you.

0

Please sign in to leave a comment.