gpt4 book ai didi

gitlab - `test:first job: script should be a string or an array of a strings`

转载 作者:行者123 更新时间:2023-12-02 01:29:35 25 4
gpt4 key购买 nike

我想创建一个简单的“hello, world”Gitlab CI 脚本。我已经让 Docker 运行程序正常工作,并且正在尝试这样的事情:

image: debian:sid

test:first:
script:
- true

不幸的是,构建失败并出现错误:test:first job: script should be a string or an array of a strings

我做错了什么?

最佳答案

经过一番试验,我找到了根本原因并 reported it as a bug 。显然“true”在这里被评估为 bool 值。添加 true 可执行文件的路径有助于解决问题。

关于gitlab - `test:first job: script should be a string or an array of a strings`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34179903/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com