This commit is contained in:
parent
3367d03039
commit
9b70eca9ee
@ -12,7 +12,7 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
SERVICE: ${DRONE_SERVICE} # 在每个步骤中引用环境变量
|
SERVICE: ${DRONE_SERVICE} # 在每个步骤中引用环境变量
|
||||||
commands:
|
commands:
|
||||||
- echo "Building Service: ${SERVICE}"
|
# - echo "Building Service: ${SERVICE}"
|
||||||
- if [ "${SERVICE}" = "gateway-service" ]; then echo "Building Gateway Service..."; fi
|
- if [ "${SERVICE}" = "gateway-service" ]; then echo "Building Gateway Service..."; fi
|
||||||
- if [ "${SERVICE}" = "system-service" ]; then echo "Building System Service..."; fi
|
- if [ "${SERVICE}" = "system-service" ]; then echo "Building System Service..."; fi
|
||||||
- if [ "${SERVICE}" = "" ]; then echo "Building All Services..."; fi
|
- if [ "${SERVICE}" = "" ]; then echo "Building All Services..."; fi
|
||||||
@ -22,7 +22,7 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
SERVICE: ${DRONE_SERVICE} # 在每个步骤中引用环境变量
|
SERVICE: ${DRONE_SERVICE} # 在每个步骤中引用环境变量
|
||||||
commands:
|
commands:
|
||||||
- echo "Testing Service: ${SERVICE}"
|
# - echo "Testing Service: ${SERVICE}"
|
||||||
- if [ "${SERVICE}" = "gateway-service" ]; then echo "Testing Gateway Service..."; fi
|
- if [ "${SERVICE}" = "gateway-service" ]; then echo "Testing Gateway Service..."; fi
|
||||||
- if [ "${SERVICE}" = "system-service" ]; then echo "Testing System Service..."; fi
|
- if [ "${SERVICE}" = "system-service" ]; then echo "Testing System Service..."; fi
|
||||||
- if [ "${SERVICE}" = "" ]; then echo "Testing All Services..."; fi
|
- if [ "${SERVICE}" = "" ]; then echo "Testing All Services..."; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user