fix: make Jenkins PowerShell path Groovy-safe

This commit is contained in:
2026-08-10 11:38:26 +09:00
parent e9467b15f9
commit 966a06e881

6
Jenkinsfile vendored
View File

@@ -22,7 +22,11 @@ pipeline {
}
$harnessRoot = Join-Path $env:KRI_DEV_ROOT '_________AgentHarnessBase'
$verificationScript = Join-Path $harnessRoot 'scripts\verify-workspace.ps1'
$verificationScript = [System.IO.Path]::Combine(
$harnessRoot,
'scripts',
'verify-workspace.ps1'
)
if (-not (Test-Path -LiteralPath $verificationScript -PathType Leaf)) {
throw "Workspace verification script not found: $verificationScript"