1、创建一个新任务
pipeline {
agent any
stages {
stage('checkout') {
steps {
echo 'start checkout!'
}
}
stage('build') {
steps {
echo 'start build!'
}
}
}
}