Jenkins switch startup type to disabled after successful bui

Ask general questions here.
evildrome
Posts: 3
Joined: Thu Jun 29, 2017 5:19 pm

Jenkins switch startup type to disabled after successful bui

Post by evildrome » Mon Mar 26, 2018 4:51 pm

So, I'm looking to start Ranorex after a successful build on Jenkins.

But our build requires Automatic startup and Ranorex requires that to be disabled.

So, any ideas how to set Jenkins startup type to 'disabled' after a successful build?


Thanks,

Wilson Logan.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3921
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Jenkins switch startup type to disabled after successful bui

Post by odklizec » Tue Mar 27, 2018 12:35 pm

Hi,

Could you please be a bit more specific about this:
...our build requires Automatic startup and Ranorex requires that to be disabled.

What you mean by automatic start? As far as I know, all Ranorex needs is that the Jenkins server/slave must not be auto started and run as a windows service! But of course, you you can auto-start Jenkins during computer restart, if you mean that? Jenkins could be autostarted using a batch file, located in windows startup folder. However, you should not run tests on the same machine, on which you run Jenkins master server. A better idea is to configure at least one Jenkins slave (VM), on which you should start your tests.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration