📅  最后修改于: 2022-03-11 15:00:07.453000             🧑  作者: Mango
pipeline {
agent none
//agent { label 'X' }
stages {
stage('Build') {
agent { label 'slave-nodeâ' }
steps {
echo 'Building..'
sh '''
'''
}
}
}
post {
success {
echo 'This will run only if successful'
}
}
}