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' + } + } + } +}