Merge pull request 'xinwei' (#63) from xinwei into master
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
Reviewed-on: #63
This commit is contained in:
commit
6b710959d3
@ -4,6 +4,8 @@ type: docker # 定义流水线类型,还有kubernetes、exec、ssh等类型
|
|||||||
|
|
||||||
name: ludu-datacenter-drone # 定义流水线名称
|
name: ludu-datacenter-drone # 定义流水线名称
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||||
|
|
||||||
@ -27,7 +29,9 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
|
|
||||||
script: |
|
script: |
|
||||||
cd /root/ludu-cloud
|
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
|
/root/apache-maven-3.9.4/bin/mvn package -Dmaven.test.skip=true
|
||||||
cd ludu-module-datacenter/ludu-module-datacenter-biz/
|
cd ludu-module-datacenter/ludu-module-datacenter-biz/
|
||||||
chmod +x run.sh
|
chmod +x run.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user