🔧 修改自动打包为Master分支打Tag才触发
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
ff2320fec1
commit
cd9f9bce5f
12
.drone.yml
12
.drone.yml
@ -2,16 +2,10 @@ kind: pipeline
|
|||||||
name: pipeline-example-maven
|
name: pipeline-example-maven
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build Project
|
- name: Test Echo
|
||||||
image: maven:3-jdk-11
|
image: alpine:latest
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /root/.m2
|
|
||||||
commands:
|
commands:
|
||||||
- mvn clean package
|
- echo 'Testing'
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- tag
|
|
||||||
|
|
||||||
- name: Send To DingTalk
|
- name: Send To DingTalk
|
||||||
image: guoxudongdocker/drone-dingtalk
|
image: guoxudongdocker/drone-dingtalk
|
||||||
|
Loading…
Reference in New Issue
Block a user