How to run GUI tests on a jenkins windows slave without remote desktop connection?

前端 未结 6 1902
余生分开走
余生分开走 2020-12-02 11:10

I have a jenkins agent set up on window 7 and a jenkins server on Linux. I am running GUI testing on the windows agent. It runs fine if I have a remote desktop connection co

6条回答
  •  隐瞒了意图╮
    2020-12-02 11:58

    As solutions above seemed a bit overkill I used this approach:

    1. Disable Jenkins service
    2. Start Jenkins from command line using java -jar C:\Program Files (x86)\Jenkins\jenkins.war

    For some reason I had to install all plugins and everything when starting it this way so I recommend creating a backup, there is plugin for that. Good luck. :)

提交回复
热议问题