Compare commits
3 Commits
526585ce21
...
6b710959d3
Author | SHA1 | Date | |
---|---|---|---|
6b710959d3 | |||
c102c1fab2 | |||
4e4a40e097 |
@ -4,6 +4,8 @@ type: docker # 定义流水线类型,还有kubernetes、exec、ssh等类型
|
||||
|
||||
name: ludu-datacenter-drone # 定义流水线名称
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||
|
||||
@ -27,7 +29,9 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||
|
||||
script: |
|
||||
cd /root/ludu-cloud
|
||||
git pull origin master
|
||||
git fetch origin
|
||||
git reset --hard origin/master
|
||||
git clean -fd
|
||||
/root/apache-maven-3.9.4/bin/mvn package -Dmaven.test.skip=true
|
||||
cd ludu-module-datacenter/ludu-module-datacenter-biz/
|
||||
chmod +x run.sh
|
||||
|
Loading…
Reference in New Issue
Block a user