first commit
This commit is contained in:
24
滴滴淘/diditao/Jenkinsfile
vendored
Normal file
24
滴滴淘/diditao/Jenkinsfile
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user