A
A
Alexander Vasilenko2016-12-26 09:33:21
Jenkins
Alexander Vasilenko, 2016-12-26 09:33:21

How to run a test project written in Protractor in Jenkins, which is deployed on a server without npm and nodejs installed?

The project is started with Grunt. There is no node_modules on the server and I suspect that I will not be able to install the necessary packages on it. In theory, tests should be run simply with the grunt (default) command. Is there a way to run a project without installing npm and the necessary packages on the server where Jenkins is deployed?
PS: I'm new to JS, I just need to write autotests in Protractor, so I'm sorry if I offended you a little by the inaccuracy of the question.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2016-12-26
@MaxDukov

you can run the project in a Docker container, and put whatever you want in the container. But, of course, you need a docker - on a server with Jenkins or on some other server, it doesn't matter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question