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

前端 未结 6 1907
余生分开走
余生分开走 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:57

    I tried the solutions provided here but nothing worked for me. At the end, I came up with a workaround.

    I opened an RDP connection to the VM in a different VM (VM2). I left the first connection open inside VM2 and disconnected from it.

    It worked but that implies having two virtual machines available.

提交回复
热议问题