首页 > 解决方案 > zip -urj 命令在 jenkins 管道 shell 脚本中失败

问题描述

我有将文件添加到现有 zip 文件的詹金斯工作

以下是我正在使用的命令:

zip -urj ./$zipFileName ./template/CM/provision/start.sh

这有时会运行,有时会失败这是我失败的日志:

Build step 'Execute shell' marked build as failure

标签: shelljenkinsjenkins-pipeline

解决方案


推荐阅读