jenkins 构建

This commit is contained in:
LingZhaoHui 2020-11-22 16:11:37 +08:00
parent 8431c81930
commit b7f3be8efc
2 changed files with 12 additions and 21 deletions

View File

@ -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

12
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,12 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
cd script/
sh 'bash build.sh'
}
}
}
}