detect Agent.Worker.exe
This commit is contained in:
parent
409b71a3d0
commit
aae4713a4d
3 changed files with 9 additions and 1 deletions
4
lib/init.js
generated
4
lib/init.js
generated
|
|
@ -102,6 +102,10 @@ async function injectWindowsTracer(processName, processLevel, config, codeql, tr
|
|||
Write-Host "Found Runner.Worker.exe process which means we are running on GitHub Actions"
|
||||
Write-Host "Aborting search early and using process: $p"
|
||||
Break
|
||||
} elseif ($p[0].Name -eq "Agent.Worker.exe") {
|
||||
Write-Host "Found Agent.Worker.exe process which means we are running on Azure Pipelines"
|
||||
Write-Host "Aborting search early and using process: $p"
|
||||
Break
|
||||
} else {
|
||||
$id = $p[0].ParentProcessId
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue