diff --git a/.drone.yml b/.drone.yml index a644423..a2e6dac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,9 +15,10 @@ steps: image: alpine/git commands: - echo "克隆 BladeX 框架代码..." - - cd /drone + - echo "当前目录:$(pwd)" + - cd /drone/src/.. - git clone https://git.waypeak.work/martial/martial-tool.git - - ls -la /drone/martial-tool + - ls -la /drone/src/../martial-tool - echo "✅ 框架代码克隆完成" # 步骤1:编译 BladeX 框架 @@ -25,7 +26,7 @@ steps: image: maven:3.9-eclipse-temurin-17 commands: - echo "开始编译 BladeX 框架..." - - cd /drone/martial-tool + - cd /drone/src/../martial-tool - mvn clean install -DskipTests -q - echo "✅ BladeX 框架编译完成"