init
continuous-integration/drone Build encountered an error

This commit is contained in:
曾志威
2026-08-07 11:17:47 +08:00
parent 10365464fa
commit d279c78d6c
+24 -2
View File
@@ -15,15 +15,37 @@ steps:
# docker 打包
- name: deploy
image: registry.cn-hangzhou.aliyuncs.com/loghub/wms-system-service:gradle9
environment:
GRADLE_USER_HOME: /cache/gradle
volumes:
- name: gradle-cache
path: /cache/gradle
- name: jib-cache
path: /cache/jib
commands:
- cd wes-loghub
- >
gradle jib -stacktrace
--parallel
-Pmax-workers=16
--info
--console=plain
--warning-mode=all
--build-cache
--configure-on-demand
--parallel
--max-workers=16
-x test
-PdockerBuild=true
-Dcybertrans.idp.enabled=false
-Djib.from.image=registry.cn-hangzhou.aliyuncs.com/ttx/amazoncorretto:25-alpine3.23-jdk
-Djib.to.image=registry.cn-hangzhou.aliyuncs.com/loghub/wes
-Djib.to.tags=proj-shopee-test
-Djib.baseImageCache=/cache/jib/base
-Djib.applicationCache=/cache/jib/application
volumes:
- name: gradle-cache
host:
path: /var/lib/drone-cache/shopee-wes/gradle
- name: jib-cache
host:
path: /var/lib/drone-cache/shopee-wes/jib