报错内容

The value specified for SourceVersion is not a valid commit ID

DevOps 创建pipline报错:The value specified for SourceVersion is not a valid commit ID 随笔 第1张

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

解决

官方给出的解答:

Thank you for your feedback! We have determined that this issue is not a bug. According to your screenshot, you put “Test” in Commit column that caused the error. If you want to build pervious version of commit, you should input full hash of the commit(40 characters) in the Commitcolumn. Or you could leave it empty, then the build will run with the latest commit.

大意就是:

要么commit长度超过40 characters,要么可以空着不填。

 

So 我选择空着不填,问题解决:

DevOps 创建pipline报错:The value specified for SourceVersion is not a valid commit ID 随笔 第2张

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄