手动记录打包部署时间
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2026-02-05 15:16:01 +08:00
parent fee5cd7a75
commit 1b1a18bac8
1 changed files with 8 additions and 1 deletions

View File

@ -18,10 +18,17 @@ server:
steps:
- name: publish-test-hir
commands:
- START=$(date +%s)
- bash /opt/1panel/xc-deploy-new/Test_HIR/devops-publish/test-branch-publish.sh
- END=$(date +%s)
- ELAPSED=$((END-START))
environment:
STEP1_ELAPSED: $ELAPSED
- name: notify-wecom
commands:
- bash /opt/1panel/xc-deploy-new/devops-center/notify-wecom.sh "$DRONE_BUILD_STATUS" "$DRONE_REPO_NAME" "$DRONE_BRANCH" "$DRONE_BUILD_NUMBER" "4355b98e-1e72-4678-8dfb-2fc6ad0bf449" "$DRONE_COMMIT_MESSAGE" "$DRONE_COMMIT_AUTHOR"
- MIN=$((STEP1_ELAPSED / 60))
- SEC=$((STEP1_ELAPSED % 60))
- bash /opt/1panel/xc-deploy-new/devops-center/notify-wecom.sh "$DRONE_BUILD_STATUS" "hir.test.extimaging.com" "$DRONE_BRANCH" "$DRONE_BUILD_NUMBER" "4355b98e-1e72-4678-8dfb-2fc6ad0bf449" "$DRONE_COMMIT_MESSAGE" "$DRONE_COMMIT_AUTHOR" "${MIN}分${SEC}秒"
when:
status:
- success