Gitlab runner错误“;生成失败:退出代码1“;

Gitlab runner错误“;生成失败:退出代码1“;,gitlab,gitlab-ci-runner,Gitlab,Gitlab Ci Runner,我正在尝试使用gitlab runner(用于gitlab页面)构建Jekyll博客。我收到以下错误:错误:生成失败:退出代码1。到目前为止,一切顺利。链接到项目:只需添加 -apt-get-update&&apt-get-install-y nodejs 和ofc -捆绑安装 内部gitlab-cl.yaml image: ruby:2.3 test: stage: test script: - gem install jekyll - bundle install -

我正在尝试使用gitlab runner(用于gitlab页面)构建Jekyll博客。我收到以下错误:错误:生成失败:退出代码1。到目前为止,一切顺利。链接到项目:

只需添加 -apt-get-update&&apt-get-install-y nodejs 和ofc -捆绑安装

内部gitlab-cl.yaml

image: ruby:2.3

test:
  stage: test
  script:
  - gem install jekyll
  - bundle install
  - apt-get update && apt-get install -y nodejs
  - bundle exec jekyll -d test/
  artifacts:
    paths:
    - test
  except:
  - master

pages:
  stage: deploy
  script:
  - gem install jekyll
  - bundle install
  - apt-get update && apt-get install -y nodejs
  - bundle exec jekyll -d public/
  artifacts:
    paths:
    - public
  only:
  - master