'build'
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
XinWei 2024-08-22 17:24:58 +08:00
parent 3367d03039
commit 9b70eca9ee

View File

@ -12,7 +12,7 @@ steps:
environment:
SERVICE: ${DRONE_SERVICE} # 在每个步骤中引用环境变量
commands:
- echo "Building Service: ${SERVICE}"
# - echo "Building Service: ${SERVICE}"
- if [ "${SERVICE}" = "gateway-service" ]; then echo "Building Gateway Service..."; fi
- if [ "${SERVICE}" = "system-service" ]; then echo "Building System Service..."; fi
- if [ "${SERVICE}" = "" ]; then echo "Building All Services..."; fi
@ -22,7 +22,7 @@ steps:
environment:
SERVICE: ${DRONE_SERVICE} # 在每个步骤中引用环境变量
commands:
- echo "Testing Service: ${SERVICE}"
# - echo "Testing Service: ${SERVICE}"
- if [ "${SERVICE}" = "gateway-service" ]; then echo "Testing Gateway Service..."; fi
- if [ "${SERVICE}" = "system-service" ]; then echo "Testing System Service..."; fi
- if [ "${SERVICE}" = "" ]; then echo "Testing All Services..."; fi