pipeline { agent { dockerfile { dir 'ci' } } triggers { pollSCM '' } environment { PUBLISH_HOST = 'web0.pyrocufflink.blue' PUBLISH_USER = 'webapp.dcow' } stages { stage('Publish') { steps { sh 'pip3 wheel -w dist .' sshagent(['jenkins-web']) { sh "ssh -oStrictHostKeyChecking=no ${PUBLISH_USER}@${PUBLISH_HOST} :" sh '. ci/publish.sh' } } } } }