Job 1788425161346

Command: powershell -NoProfile -ExecutionPolicy Bypass -Command "$ErrorActionPreference='Stop';$node='C:\Program Files\nodejs\node.exe';$js='C:\Users\ash\AppData\Roaming\npm\node_modules\@google\clasp\build\src\index.js';$sid='14nkIMPL8l_IYeUggRP5m6dswCo7blt5IDxn469IUCTbul6CMGJG7zqpo';$did='AKfycbwlHCiqN-wDxc5mu0Hr261-uOp9rKVH2eWNatQAQOTwuKoMcCEHSWW1y_1fiaCBTAfFxw';$proj='C:\Users\ash\PhoneBridgeHotpathManual';New-Item -ItemType Directory -Path $proj -Force|Out-Null;$u8=New-Object System.Text.UTF8Encoding($false);[IO.File]::WriteAllText((Join-Path $proj '.clasp.json'),('{"scriptId":"'+$sid+'","rootDir":"."}'),$u8);[IO.File]::WriteAllText((Join-Path $proj 'appsscript.json'),'{"timeZone":"Asia/Kuala_Lumpur","dependencies":{},"exceptionLogging":"STACKDRIVER","runtimeVersion":"V8"}',$u8);Copy-Item 'C:\Users\ash\PhoneBridgeCode.gs' (Join-Path $proj 'Code.gs') -Force;Write-Output ('CLASP_JSON='+[IO.File]::ReadAllText((Join-Path $proj '.clasp.json')));Push-Location $proj;Write-Output 'STEP_PUSH';& $node $js push -f;if($LASTEXITCODE -ne 0){throw 'PUSH_FAILED'};Write-Output 'STEP_VERSION';$vo=& $node $js version 'hotpath-adapter-20260903';if($LASTEXITCODE -ne 0){throw 'VERSION_FAILED'};$vn=[regex]::Match(($vo -join ' '),'(\d+)').Groups[1].Value;if(-not $vn){throw ('VERSION_PARSE_FAILED '+($vo -join ' '))};Write-Output ('VERSION='+$vn);Write-Output 'STEP_DEPLOY';& $node $js deploy -i $did -V $vn -d 'hotpath-adapter-20260903';if($LASTEXITCODE -ne 0){throw 'DEPLOY_FAILED'};Pop-Location;Write-Output ('DEPLOY_OK VERSION='+$vn)"
Directory: projects
Status: FAILED
Exit code: 1

Cancel Job Rerun Command Refresh

Error Summary

+ ... $node $js push -f;if($LASTEXITCODE -ne 0){throw 'PUSH_FAILED'};Write- ...
+                                               ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (PUSH_FAILED:String) [], RuntimeException
    + FullyQualifiedErrorId : PUSH_FAILED
 
---
+                                               ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (PUSH_FAILED:String) [], RuntimeException
    + FullyQualifiedErrorId : PUSH_FAILED
 
---
CLASP_JSON={scriptId:14nkIMPL8l_IYeUggRP5m6dswCo7blt5IDxn469IUCTbul6CMGJG7zqpo,rootDir:.}
STEP_PUSH
JSON5: invalid character 'n' at 1:13
PUSH_FAILED
At line:1 char:962
+ ... $node $js push -f;if($LASTEXITCODE -ne 0){throw 'PUSH_FAILED'};Write- ...
+                                               ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (PUSH_FAILED:String) [], RuntimeException
    + FullyQualifiedErrorId : PUSH_FAILED