diff options
author | crupest <crupest@outlook.com> | 2020-07-21 09:28:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-07-21 09:28:18 +0800 |
commit | 32409f7691983733067731ed411352571427b7e4 (patch) | |
tree | f63a7eba4eb71b01e39867189fc3cbb1af3f468c | |
parent | 3f26d025e2d723ae7fc3bb003ec77915b2ca94dc (diff) | |
download | timeline-32409f7691983733067731ed411352571427b7e4.tar.gz timeline-32409f7691983733067731ed411352571427b7e4.tar.bz2 timeline-32409f7691983733067731ed411352571427b7e4.zip |
Init jenkinsfile.
-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 "自定义构建过程开始"
+ // 请在此处补充您的构建过程
+ }
+ }
+ }
+}
|