1
0
mirror of synced 2025-12-20 18:36:31 -05:00

Add HTML comments for MS short links (#34903)

This commit is contained in:
Felicity Chapman
2023-02-21 08:45:28 +00:00
committed by GitHub
parent 6312d67f24
commit a44da9be99
4 changed files with 17 additions and 3 deletions

View File

@@ -12,6 +12,8 @@ topics:
- Code scanning
- CodeQL
---
<!--The CodeQL CLI man pages include a link to a section in this article. If you rename this article,
make sure that you also update the MS short link: https://aka.ms/codeql-docs/indirect-tracing.-->
{% data reusables.codeql-cli.codeql-site-migration-note %}
@@ -241,6 +243,9 @@ This command runs a custom script that contains all of the commands required to
### Using indirect build tracing
<!--The CodeQL CLI man pages include a link to this section of the article. If you rename this section,
make sure that you also update the MS short link: https://aka.ms/codeql-docs/indirect-tracing.-->
If the {% data variables.product.prodname_codeql_cli %} autobuilders for compiled languages do not work with your CI workflow and you cannot wrap invocations of build commands with `codeql database trace-command`, you can use indirect build tracing to create a {% data variables.product.prodname_codeql %} database. To use indirect build tracing, your CI system must be able to set custom environment variables for each build action.
To create a {% data variables.product.prodname_codeql %} database with indirect build tracing, run the following command from the checkout root of your project: