CodeQL CLI with Jenkins #12451
-
It is possible to integrate CodeQL CLI with jenkins? would we need a license? We are tying to use our existing build processes in Jenkins and don't want to have to re-create them if the CLI can be used outside of github actions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Yes, you can use the CodeQL CLI with Jenkins. To use CodeQL on closed source software you need a GitHub Advanced Security license. With an Advanced Security license you can analyse any GitHub repository with any CI/CD system you like, including Jenkins. Best contact the sales team for the exact terms and conditions of the license. For use of CodeQL on open source code see the license at https://github.com/github/codeql-cli-binaries/blob/main/LICENSE.md . For use with automated CI/CD systems such as Jenkins the analysed source code needs to be hosted on GitHub, but otherwise there shouldn't be any additional restrictions. If you analyse things locally then it does not matter where the open source code is hosted. |
Beta Was this translation helpful? Give feedback.
-
How does GitHub know if we have a license for the CLI tool? does it get tied to the access token? |
Beta Was this translation helpful? Give feedback.
Yes, you can use the CodeQL CLI with Jenkins. To use CodeQL on closed source software you need a GitHub Advanced Security license. With an Advanced Security license you can analyse any GitHub repository with any CI/CD system you like, including Jenkins. Best contact the sales team for the exact terms and conditions of the license.
For use of CodeQL on open source code see the license at https://github.com/github/codeql-cli-binaries/blob/main/LICENSE.md . For use with automated CI/CD systems such as Jenkins the analysed source code needs to be hosted on GitHub, but otherwise there shouldn't be any additional restrictions. If you analyse things locally then it does not matter where the open…