bazel无法使用stable-status.txt构建

时间:2018-03-22 20:35:52

标签: build bazel build-error

在启用linkstamping的情况下构建目标时,我在远程构建器(jenkins)上看到以下错误

在本地构建时,它按预期工作,我正在产生预期的输出

[0 / 21] [-----] BazelWorkspaceStatusAction stable-status.txt
ERROR: Couldn't build file stable-status.txt: 
Process exited with status 1: 
Process exited with status 1
BUILD_SCM_REVISION "081d863b64ed20050f25e93a050e79b08d3e8027"
fatal: No names found, cannot describe anything.
INFO: Elapsed time: 20.023s, Critical Path: 0.06s
FAILED: Build did NOT complete successfully
+ return 1
+ readonly exit_code=1
+ exit_code=1
+ move_xml
+ pushd /tmpfs/src/git/bazel/bazel-testlogs
++ find . -name test.xml
+ popd
+ exit 1

0 个答案:

没有答案