0

我尝试在 jenkins 中使用执行 shell 构建一个简单的工作,但我面临ModuleNotFoundError: No module named 'cmd2' error.

如果我在没有 jenkins 的 linux 终端中运行相同的 python 文件,它工作正常并给我预期的输出。

输出:

输出

如何使用 jenkins shell 使这项工作成功运行?

4

0 回答 0