Compare commits

..

3 Commits

Author SHA1 Message Date
6b710959d3 Merge pull request 'xinwei' (#63) from xinwei into master
All checks were successful
continuous-integration/drone Build is passing
Reviewed-on: #63
2024-08-30 11:31:39 +08:00
c102c1fab2 datacenter构建强制同步线上项目 2024-08-30 11:31:17 +08:00
4e4a40e097 datacenter构建禁用默认clone 2024-08-30 11:30:02 +08:00

View File

@ -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