This commit is contained in:
曾志威
2026-02-25 18:24:23 +08:00
parent 11647bd235
commit 96b169e64f
+15 -11
View File
@@ -1,18 +1,11 @@
kind: pipeline
name: default
steps:
# 定义工作空间(可选,统一构建目录)
workspace:
path: /root/drone/src
# 步骤2:拉取其他 Git 项目(common-utils
- name: clone-other-project
image: alpine/git:latest # 轻量 Git 镜像
commands:
# 拉取其他项目到指定目录
- >
git clone
-b v3.3-walle-v1.3
--depth 1
https://zwzeng:glpat-Ht2452yuDgM84iNzu32b@git.ittx.com.cn/wms/wms-loghub-3-x.git
steps:
# 恢复 Gradle 缓存(无需挂载主机卷)
- name: restore-gradle-cache
@@ -27,6 +20,17 @@ steps:
path: /root/drone/cache
failure: ignore
# 步骤2:拉取其他 Git 项目(common-utils
- name: clone-other-project
image: alpine/git:latest # 轻量 Git 镜像
commands:
# 拉取其他项目到指定目录
- >
git clone
-b v3.3-walle-v1.3
--depth 1
https://zwzeng:glpat-Ht2452yuDgM84iNzu32b@git.ittx.com.cn/wms/wms-loghub-3-x.git
# docker 打包
- name: deploy
image: registry.cn-hangzhou.aliyuncs.com/loghub/wms-system-service:gradle8