This commit is contained in:
parent
4d03375b41
commit
5f347db62b
@ -4,7 +4,8 @@ type: docker # 定义流水线类型,还有kubernetes、exec、ssh等类型
|
|||||||
|
|
||||||
name: filesystem-drone # 定义流水线名称
|
name: filesystem-drone # 定义流水线名称
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||||
|
|
||||||
- name: package-and-push-image
|
- name: package-and-push-image
|
||||||
@ -28,7 +29,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
script:
|
script:
|
||||||
- cd /root/allLikeMall
|
- cd /root/allLikeMall
|
||||||
- git fetch origin
|
- git fetch origin
|
||||||
- git reset --hard origin/main
|
- git reset --hard origin/master
|
||||||
- git clean -fd
|
- git clean -fd
|
||||||
- mvn package -Dmaven.test.skip=true
|
- mvn package -Dmaven.test.skip=true
|
||||||
- cd yudao-server
|
- cd yudao-server
|
||||||
|
Loading…
Reference in New Issue
Block a user