Files
2024-09-27 01:32:49 +08:00

24 lines
492 B
Groovy

pipeline {
agent any
stages {
stage('检出') {
steps {
checkout([
$class: 'GitSCM',
branches: [[name: env.GIT_BUILD_REF]],
userRemoteConfigs: [[
url: env.GIT_REPO_URL,
credentialsId: env.CREDENTIALS_ID
]]])
}
}
stage('部署到开发集成环境') {
when {
branch 'dev'
}
steps {
echo 'running deliver-for-dev.sh'
}
}
}
}