我正在尝试使用Jenkins将文件上传到Azure blob存储,同时上传文件AZCopy要求确认,最终会出错。
[2018/03/09 10:11:11][WARNING] Incomplete operation with different
command line detected at the journal directory
"/var/lib/jenkins/Microsoft/Azure/AzCopy".
Do you want to overwrite the journal to start a new operation? Choose
Yes to overwrite, choose No to cancel current operation. (Yes/No)
[2018/03/09 10:11:11][ERROR] The operation was canceled because user
chose not to overwrite the existing journal file.
[Pipeline] }
任何人都可以帮助解决此错误,如何强制azcopy覆盖文件?
答案 0 :(得分:0)
您可以使用/y option来禁止确认并强行覆盖。
/ Y
禁止所有AzCopy确认提示。当未指定/ XO和/ XN时,此选项还允许使用只写SAS令牌进行数据上载方案
答案 1 :(得分:0)