Fix website publishing and switch it to the sshPublisher
Use when { environment name: 'GIT_BRANCH', value: 'origin/master' }
instead of when {branch 'master'}
as the latter only works on multibranch jobs.
Then move to the sshPublisher
instead of manually launching rsync
from a (unrelated and old) Docker container.
Edited by Emanuele Aina