0
例如,如果我把bash abc.sh
在“执行shell”,作业输出将是:jenkins可以在运行作业时隐藏其“执行shell”命令吗?
+ bash abc.sh
the output of the script
但我想只有这个脚本的输出,有什么我可以做隐藏+ bash abc.sh
?
在此先感谢。
例如,如果我把bash abc.sh
在“执行shell”,作业输出将是:jenkins可以在运行作业时隐藏其“执行shell”命令吗?
+ bash abc.sh
the output of the script
但我想只有这个脚本的输出,有什么我可以做隐藏+ bash abc.sh
?
在此先感谢。
我似乎找到了答案....
set +x
<command>
set -x
这解决了我的问题。