-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows server 2016
I need to run the Jenkins from cmd because of UI Selenium tests and I need to start the Jenkins as administrator. (because of running scripts from jenkins e.g. for start and stop tomcat)
I have .bat file with this content:
java -jar ...\jenkins.war
which starts the Jenkins.
I have tried these options:
Make shortcut.ink of this .bat file and setup it as administrator, but .ink files cant be started in system startup from startup folder.
run this .bat file from windows scheduler, but despite the fact that I have set the priority 4, the Jenkins runs terribly slowly.
The question is simple, how to start the .bat file from shortcut folder with full admin rights without using windows services or windows scheduler? The Jenkins is running on Windows server 2016.
Thanks for any answer.