0

当我在我的 Mac zsh 终端中键入命令“newman -v”时,我得到了响应“5.3.0”: 在此处输入图像描述 但是当我将相同的命令放到 Jenkins Execute Shell 中时,我得到了响应“newman:command not found”:

Building in workspace /Users/viacheslav/.jenkins/workspace/httpbin_rest_api_tests
[httpbin_rest_api_tests] $ /bin/sh -xe /var/folders/47/0yzznmn52sq25f8q86d5spk80000gn/T/jenkins11129272708516264214.sh
+ newman -v
/var/folders/47/0yzznmn52sq25f8q86d5spk80000gn/T/jenkins11129272708516264214.sh: line 2: newman: command not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE

为什么詹金斯没有看到纽曼?

4

0 回答 0