I have a jenkins job, which sends some ssh commands on remote host:
sh \'ssh deploy@192.168.101.30 "sudo mkdir -p /opt/jenkins-files/build && su