Reputation: 433
I know this is a dupe but I haven't found any answer that details it all from starting. I'm using protractor 4.0.14 and I run the tests with
.\node_modules\.bin/protractor.cmd --specs=some\spec protractor.conf.js
Now I want to run it on jenkins and I can't find a good answer that covers it all.
Upvotes: 0
Views: 73
Reputation: 283
You can add a Jenkins step called "Execute Windows batch command" and add the content like this:
cd D:/xxx/xxx
protractor protractor.conf.js
Upvotes: 1