🔧 修改自动打包为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
|
||||
|
||||
steps:
|
||||
- name: Build Project
|
||||
image: maven:3-jdk-11
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /root/.m2
|
||||
- name: Test Echo
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- mvn clean package
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
- echo 'Testing'
|
||||
|
||||
- name: Send To DingTalk
|
||||
image: guoxudongdocker/drone-dingtalk
|
||||
|
Loading…
Reference in New Issue
Block a user