From 047b85baa7a10aeb479042e6097a576e06d66ad0 Mon Sep 17 00:00:00 2001 From: "allen.yan" Date: Thu, 22 May 2025 14:49:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E7=89=88=20Send-Heartbeat=20?= =?UTF-8?q?=E5=8A=A0=E5=85=A5branch=5Fname=20=E4=BE=86=E5=BE=97=E7=9F=A5?= =?UTF-8?q?=E9=82=A3=E9=96=93=E5=BA=97=E7=9A=84=2020250522?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/heartbeat.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/heartbeat.ps1 b/scripts/heartbeat.ps1 index 54d3ed1..6e6bc7c 100644 --- a/scripts/heartbeat.ps1 +++ b/scripts/heartbeat.ps1 @@ -59,6 +59,7 @@ function Get-Token { function Send-Heartbeat($token, $ip) { while ($true) { $heartbeat = @{ + branch_name = $branchName hostname = $env:COMPUTERNAME ip = $ip cpu = [math]::Round((Get-Counter '\Processor(_Total)\% Processor Time').CounterSamples.CookedValue, 2)