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
commit8b541f2fd693614c22e0ea5cca9296a0c0c71bd3 (patch)
treef63a7eba4eb71b01e39867189fc3cbb1af3f468c
parente7e4ee99f8099db5bf080c9d5770b077d0718258 (diff)
downloadtimeline-8b541f2fd693614c22e0ea5cca9296a0c0c71bd3.tar.gz
timeline-8b541f2fd693614c22e0ea5cca9296a0c0c71bd3.tar.bz2
timeline-8b541f2fd693614c22e0ea5cca9296a0c0c71bd3.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 "自定义构建过程开始"
+ // 请在此处补充您的构建过程
+ }
+ }
+ }
+}