I am creating a maven project from jenkins, browser doesn't open in my laptop but test is getting passed.
I have installed Jenkins as a Window Service.
Admin, can we get any response.
Instructor
Ashish Thakur Replied on 09/01/2020
Is your project executing fine outside Jenkins?
Are you able to execute test cases with maven commands?
using mvn test in cmd prompt opens the browser.
Have you used .exe file of Jenkin or .war file to install Jenkin, I suggest to use .war file. If you have installed using .exe then try activate the checkbox "Allow service to interact with desktop" on the service if this not work then you need to use .war file just run it from the console with "java -jar jenkins.war"
Thansk Shriyash.
To install I used .exe. After login to Jenkins I did 'Install as a Windows Profile' so that it will always be up and running in the VM. On Services I did activate the Allow to interact checkbox but still the browser doesnot open.
If I use the .war file then if I close the cmd window then Jenkis stops.
Instructor
Ashish Thakur Replied on 15/01/2020
Please ping me on Skype at abhishek@whizdomtraining.com
I do not find that ID in Skype.
Instructor
Ashish Thakur Replied on 24/01/2020
Please try again.