Running nightwatch tests via Jenkins

589 views
Skip to first unread message

Kamran Khan

unread,
Apr 8, 2015, 7:27:22 AM4/8/15
to nightw...@googlegroups.com
I'm having trouble running my nightwatch tests via Jenkins (hosted in the cloud). To be totally honest, I've never setup a jenkins build before so I would really appreciate it if someone can direct me the right way. 

Some points: 

- I have my tests running locally just fine. 
- I've tried running a jenkins build by shell script command, which i use locally but get error nightwatch command cannot be found 

I'm assuming I need to install nightwatch and all the dependencies on the remote server? 

Kamran Khan

unread,
Apr 8, 2015, 7:48:14 AM4/8/15
to nightw...@googlegroups.com
I've got it running. 

In the shell command, I just had to do npm install nightwatch then run my test command. 
Reply all
Reply to author
Forward
0 new messages