This pull request primarily introduces changes to the ExecuteCodeQL.groovy, ExecuteCodeQLWGet.groovy, and ExecuteCodeQL.groovy files in the jenkins/shared-libraries directory. These changes add a new condition to check the ENABLE_EXTENDED_QUERIES environment variable and modify the QL_PACKS environment variable accordingly. This allows for the use of extended security queries in the CodeQL analysis.
jenkins/shared-libraries/windows/vars/ExecuteCodeQL.groovy: Implemented the same changes as in the Linux variants of the file, checking for ENABLE_EXTENDED_QUERIES and updating QL_PACKS to use extended security queries if the condition is met.
This pull request primarily introduces changes to the
ExecuteCodeQL.groovy
,ExecuteCodeQLWGet.groovy
, andExecuteCodeQL.groovy
files in thejenkins/shared-libraries
directory. These changes add a new condition to check theENABLE_EXTENDED_QUERIES
environment variable and modify theQL_PACKS
environment variable accordingly. This allows for the use of extended security queries in the CodeQL analysis.Changes in CodeQL execution:
jenkins/shared-libraries/linux/vars/ExecuteCodeQL.groovy
: Added a condition to check ifENABLE_EXTENDED_QUERIES
is set. If it is,QL_PACKS
is updated to use extended security queries.jenkins/shared-libraries/linux/vars/ExecuteCodeQLWGet.groovy
: Similar to the above, added a condition to check forENABLE_EXTENDED_QUERIES
and updateQL_PACKS
accordingly.jenkins/shared-libraries/windows/vars/ExecuteCodeQL.groovy
: Implemented the same changes as in the Linux variants of the file, checking forENABLE_EXTENDED_QUERIES
and updatingQL_PACKS
to use extended security queries if the condition is met.