Reinstate the declaration of the 'user.name' Java System System Property set to 'jenkins' during the Build phase (check).
Execute chown command to change the owner of the SBDG build directory to 'jenkins' prior to deploying artifacts & docs.
Declare the 'user.name' (set to 'jenkins') and `java.io.tmpdir' (set to '/tmp') Java System Properties in Gradle Options prior to deploying artifacts & docs.
Move 'chown' and and 'mkdir /tmp/jenkins-home' commmands to setup.sh.
Add 'exit 0' commands to the cleanup Bash shell scripts.
Add 'echo' commands to log build progress.