Hello,
I test GoCD in my local machine (Ubuntu 16.04) just to see whether fits to my project's needs. I am mainly interested for creating tasks which checkout and pull the master branch via git, then the project is build using gulp and in the end, automated tests run using Cypress. Since, I am totally new to GoCD, I would like to ask you about some things:
1) I installed script-executor-task for running git, gulp and cypress. Is this a good technique?
2) I can not make Cypress run. When I am logged in with my own user then I would just install Cypress via yarn and then I would run ./node_modules/cypress/bin/cypress run. If I change to go user (sudo su - go) and git clone my branch on /var/go directory then yarn add cypress wont install Cypress. I will have to install it via npm. Do you have any explanation for it? Moreover, ./node_modules/cypress/bin/cypress run will fail with the following error message. I get the same error message when I execute the pipeline which contains the task with Cypress through the GoCD web interface. Do you might have any idea what I am doing wrong?
Thank you in advance! :)
It looks like this is your first time using Cypress: 3.0.1
✖ Verifying Cypress can run /var/go/.cache/Cypress/3.0.1/Cypress
→ Cypress Version: 3.0.1
Cypress failed to start.
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
If you are using Docker, we provide containers with all required dependencies installed.
----------
No protocol specified
----------
Platform: linux (Ubuntu Linux - 16.04)
Cypress Version: 3.0.1