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?

4 comments
Comment actions Permalink

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

0
Comment actions Permalink

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
Comment actions Permalink

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

0
Comment actions Permalink

This works perfectly, thank you.

0

Please sign in to leave a comment.