pipeline { agent any options { disableConcurrentBuilds() } triggers { pollSCM '' } stages { stage('Prepare') { steps { sh '. ci/prepare.sh' } } stage('Build') { steps { sh '. ci/build.sh' } } stage('Publish') { steps { sshagent(['jenkins-web']) { sh '. ci/publish.sh' } } } } }