I am writing my Test Cases using maven project in Intelij IDE framework for desktop application. I want to run them through jenkins . my code is on VM
- I use Junit.
- i installed agent slabe in my VM
- i connect jenkins to my agent slave.
- i create job and i give the POM of my project
- when i run jenkins on the VM => test run ( i need to have application in front, if not the test is failed).
when i close my vm and try to run jenkins => test failed
can you help me to resolve this issues please?