mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Clarify how path is modified in Azure Pipelines with a comment
This commit is contained in:
parent
61d940696e
commit
e38dcc1ea8
1 changed files with 3 additions and 1 deletions
|
|
@ -114,8 +114,10 @@ function modifyPathForCi(shimsDir) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// detect azure pipelines
|
|
||||||
if (process.env.TF_BUILD) {
|
if (process.env.TF_BUILD) {
|
||||||
|
// In Azure Pipelines, prepending the path is done via a logging command:
|
||||||
|
// ##vso[task.prependpath]/path/to/add
|
||||||
|
// Logging this to stdout will cause the Azure Pipelines agent to pick it up
|
||||||
ui.writeInformation("##vso[task.prependpath]" + shimsDir);
|
ui.writeInformation("##vso[task.prependpath]" + shimsDir);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue