By default, Jenkins launches Execute Shell script with set -x
. This causes all commands to be echoed
You can type set +x
before any command to temporary override that behavior. Of course you will need set -x
to start showing them again.
You can override this behaviour for the whole script by putting the following at the top of the build step:
#!/bin/bash +x