In the GitHub repo that we have chosen, there is no existing Jenkinsfile and so we are redirected to the pipeline editor screen, where we can create our first Jenkinsfile:
We need to add a Docker image for Node.js and for the agent, that looks similar to this:
Notice that we give an image and argument to mount a data volume using the -v option for Docker.
Next we click the gray plus button and we will see the following change:
Next we click the blue Add Step button after we give the stage a name. ...