pipeline { agent any options { skipStagesAfterUnstable() } stages { stage('Build') { steps { getDatabaseConnection } } } }