diff options
-rw-r--r-- | Jenkinsfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..51c2695e --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ +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('自定义构建过程') {
+ steps {
+ echo "自定义构建过程开始"
+ // 请在此处补充您的构建过程
+ }
+ }
+ }
+}
|