pipeline { agent any triggers { pollSCM('H/5 * * * *') } stages { stage('Build') { steps { sh 'stack setup && stack build' } } } }