mardi 22 janvier 2019

Triggering Nightwatch tests in Jenkins

I have a few tests written in Nightwatch.js. I have installed Apache Maven and Docker and integrated them with Jenkins.

In Jenkins, I want to trigger my tests to run via the Nightwatch.js framework, although I am not exactly sure how to do that.

I created a new job in Jenkins and built an Execute Windows batch command in the job's configuration, like below: windows batch command

My test has a few console logs in it, but I cannot see it at all in the Console Output, even though the build is successful. Console Output

What can I do to see the logs? Is there a command or service that I should run? Or configure anything in Jenkins? Also is there any way to launch the web browser via Jenkins?

Thanks

Aucun commentaire:

Enregistrer un commentaire