From b7f3be8efca9fa1efd6e79b664877fe7c6e3dff7 Mon Sep 17 00:00:00 2001 From: zeekling Date: Sun, 22 Nov 2020 16:11:37 +0800 Subject: [PATCH] =?UTF-8?q?jenkins=20=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 21 --------------------- Jenkinsfile | 12 ++++++++++++ 2 files changed, 12 insertions(+), 21 deletions(-) delete mode 100644 .drone.yml create mode 100644 Jenkinsfile diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 014f12a..0000000 --- a/.drone.yml +++ /dev/null @@ -1,21 +0,0 @@ -# drone 本地构建 -kind: pipeline -type: docker -name: redis - -platform: - arch: arm64 - -# drone构建步骤 -steps: - # 1.maven打包 - - name: c make - pull: if-not-exists - image: gcc - commands: - - make - -# drone执行触发器 -trigger: - branch: - - master diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..b0055ae --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,12 @@ +pipeline { + agent any + + stages { + stage('Build') { + steps { + cd script/ + sh 'bash build.sh' + } + } + } +}