+ [pipeline] add unittest check.

This commit is contained in:
liyang
2025-04-23 10:09:44 +08:00
committed by 李阳
parent 9eef3816e4
commit e3ac7767bd
+17 -17
View File
@@ -95,20 +95,20 @@ spec:
- s6-svwait -u -t 30000 /etc/s6/s6-available/mysql
- initdb.php > /apps/zentao/unittestdb
- rununittestbycommitid.php zentaopms ${{ secrets.get("zentao_user") }} ${{ secrets.get("zentao_password") }}
- name: 消息通知
type: plugin
when: failure()
spec:
inputs:
debug: true
custom: true
token: ${{ secrets.get("xuan_token") }}
caller: zenci
api: https://gw.easycorp.cn
title: 单元测试
content: "单元测试执行失败"
url: ${GITFOX_BUILD_LINK}
users:
"0": "liyang"
"1": "{{.GITFOX_COMMIT_AUTHOR_NAME}}"
name: gitfox-xuanim-plugin
- name: 消息通知
type: plugin
when: failure()
spec:
inputs:
debug: true
custom: true
token: ${{ secrets.get("xuan_token") }}
caller: zenci
api: https://gw.easycorp.cn
title: 单元测试
content: "单元测试执行失败"
url: ${GITFOX_BUILD_LINK}
users:
"0": "liyang"
"1": "{{.GITFOX_COMMIT_AUTHOR_NAME}}"
name: gitfox-xuanim-plugin