fix: make Jenkins PowerShell path Groovy-safe
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user