jenkins 可以在运行作业时隐藏其“执行 shell”命令吗?

Aza*_*rea 5 jenkins

例如,如果我放入bash abc.sh“执行外壳”,作业输出将是:

+ bash abc.sh
the output of the script
Run Code Online (Sandbox Code Playgroud)

但我想要的只是这个脚本的输出,我能做些什么来隐藏+ bash abc.sh?

提前致谢。

Aza*_*rea 6

看来我找到了答案......

set +x
<command>
set -x
Run Code Online (Sandbox Code Playgroud)

这解决了我的问题。