As part of my build process, I am running a git commit as an execute shell step. However, if there are no changes in the workspace, Jenkins is failing the build. This is be
To stop further execution when command fails:
command || exit 0
To continue execution when command fails:
command || true