jenkins 构建
This commit is contained in:
parent
8431c81930
commit
b7f3be8efc
21
.drone.yml
21
.drone.yml
@ -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
12
Jenkinsfile
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
cd script/
|
||||
sh 'bash build.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user