shaowenchen
pipeline {
agent {
node {
label ‘nodejs’
}
}
stages {
stage(‘default-1’) {
parallel {
stage(‘获取配置’) {
steps {
git(url: '', credentialsId: ‘gitlab-id’, branch: ‘master’, changelog: true, poll: false)
}
}
stage(‘获取代码’) {
steps {
git(url: '', credentialsId: ‘gitlab-id’, branch: ‘master’, changelog: true, poll: false)
}
}
}
}
}