I have setup a pipline with 3 jobs, build, test and deploy. Build and deploy are working. Test is not working.
My .gitlab-ci.yml looks like this:
image: node:latest stages: - build - test - deploy build: stage: build before_script: - npm install -g gulp script: - echo "Building deploy package" - npm install - gulp deploy - echo "Build successful" artifacts: expire_in: 1 hour paths: - dist include: - template: Code-Quality.gitlab-ci.yml code_quality: stage: test tags: - Private artifacts: paths: [gl-code-quality-report.json]
I have a docker Gitlab-ce installation and the runners setup according to the documentation page:
docker run -d --name gitlab-runner --restart always \ -v /srv/gitlab-runner/config:/etc/gitlab-runner \ -v /var/run/docker.sock:/var/run/docker.sock \ gitlab/gitlab-runner:latest
The test stage is running on a private runner, however I get this error logs:
Any suggestions? I am also not able to download the report.