我正在用测试GitLab CI管道
gitlab-runner exec
. 在一个脚本中,Boost遇到了一个错误,它创建了一个日志文件。我想查看此日志文件,但不知道如何查看。
.gitlab-ci.yml
image: alpine
variables:
GIT_SUBMODULE_STRATEGY: recursive
build:
script:
- apk add cmake
- cd include/boost
- sh bootstrap.sh
sudo gitlab-runner exec docker build --timeout 3600
输出的最后几行:
Building Boost.Build engine with toolset ...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
ERROR: Job failed: exit code 1
FATAL: exit code 1
bootstrap.log
附加
- cat bootstrap.log
到
不输出文件内容,因为运行程序在此行之前退出。我试着用眼睛看过去的容器
sudo docker ps -a
,但这并没有显示GitLab Runner使用的。我怎么开
bootstrap.log文件