Job 1788425050551

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';if(Test-Path $proj){Remove-Item $proj -Recurse -Force};New-Item -ItemType Directory -Path $proj|Out-Null;Set-Content -LiteralPath (Join-Path $proj '.clasp.json') -Value ('{"scriptId":"'+$sid+'","rootDir":"."}') -Encoding UTF8;Set-Content -LiteralPath (Join-Path $proj 'appsscript.json') -Value '{"timeZone":"Asia/Kuala_Lumpur","dependencies":{},"exceptionLogging":"STACKDRIVER","runtimeVersion":"V8"}' -Encoding UTF8;Copy-Item 'C:\Users\ash\PhoneBridgeCode.gs' (Join-Path $proj 'Code.gs') -Force;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
 
---
STEP_PUSH
JSON5: invalid character 'n' at 1:14
PUSH_FAILED
At line:1 char:913
+ ... $node $js push -f;if($LASTEXITCODE -ne 0){throw 'PUSH_FAILED'};Write- ...
+                                               ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (PUSH_FAILED:String) [], RuntimeException
    + FullyQualifiedErrorId : PUSH_FAILED