Skip to content

Commit 3dfbf26

Browse files
Add new CxOneCurrentScanId pipeline runtime variable that will available to all tasks for same job (#690)
Co-authored-by: cx-Margarita-LevitM <cx-margarita-levitm>
1 parent 998b889 commit 3dfbf26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cxAstScan/services/TaskRunner.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export class TaskRunner {
4646

4747
if (agentTempDirectory && scan && scan.id) {
4848
taskLib.setVariable("CxOneScanId", scan.id);
49+
taskLib.setVariable("CxOneCurrentScanId", scan.id, false, false);
4950
await this.generateResults(wrapper, agentTempDirectory, scan.id);
5051
}
5152
}

0 commit comments

Comments
 (0)