aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-07-21 09:28:18 +0800
committercrupest <crupest@outlook.com>2020-07-21 09:28:18 +0800
commit32409f7691983733067731ed411352571427b7e4 (patch)
treef63a7eba4eb71b01e39867189fc3cbb1af3f468c
parent3f26d025e2d723ae7fc3bb003ec77915b2ca94dc (diff)
downloadtimeline-32409f7691983733067731ed411352571427b7e4.tar.gz
timeline-32409f7691983733067731ed411352571427b7e4.tar.bz2
timeline-32409f7691983733067731ed411352571427b7e4.zip
Init jenkinsfile.
-rw-r--r--Jenkinsfile22
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 "自定义构建过程开始"
+ // 请在此处补充您的构建过程
+ }
+ }
+ }
+}