错误:作业失败:构建目录必须是绝对路径

问题描述 投票:0回答:1
  • 在Windows上安装了Gitlab运行程序
  • 已注册
  • 使用测试gitlab ci yaml配置文件配置了一个测试仓库
  • CI / CD管道显示错误
ERROR: Job failed: build directory needs to be an absolute path

这里是.gitlab-ci.yml

image: busybox:latest

before_script:
  - echo "Before script section"
  - echo "For example you might run an update here or install a build dependency"
  - echo "Or perhaps you might print out some debugging details"

after_script:
  - echo "After script section"
  - echo "For example you might do some cleanup here"

build1:
  stage: build
  script:
    - echo "Do your build here"

test1:
  stage: test
  script: 
    - echo "Do a test here"
    - echo "For example run a test suite"

test2:
  stage: test
  script: 
    - echo "Do another parallel test here"
    - echo "For example run a lint test"

deploy1:
  stage: deploy
  script:
    - echo "Do your deploy here"
gitlab-ci-runner
1个回答
0
投票
[[runners]] name = "jira-ssh-runner" executor = "docker-ssh" builds_dir = "/home/gitlab-runner/build"
© www.soinside.com 2019 - 2024. All rights reserved.