diff --git a/scripts/src/cicd.ts b/scripts/src/cicd.ts index 2d425db8..8cf0a72b 100644 --- a/scripts/src/cicd.ts +++ b/scripts/src/cicd.ts @@ -1053,7 +1053,7 @@ function executeNativeSentinelTrigger(follower: FollowerSpec, observedSha: strin sourceAuthority: "git-mirror-snapshot", }); const pipelineRun = sentinelPipelineRunName(state, false); - const namespace = stringField(state.cicd, "builder.namespace", `${follower.id}.sentinel.cicd.builder`); + const namespace = stringField(recordField(state.cicd, "builder", `${follower.id}.sentinel.cicd`), "namespace", `${follower.id}.sentinel.cicd.builder`); const manifest = sentinelPublishPipelineRunManifest(state, pipelineRun, true); const result = runNativeTektonPipelineRun(namespace, pipelineRun, manifest, options.wait, timeoutSeconds); const payload = parseJsonObject(result.stdout) ?? {};