Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

ActionsDesk/jenkins-codeql-analysis-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Shared Library: CodeQL Analysis

This shared library allows Jenkins pipelines to initialize and perform CodeQL analysis on a project. There exists a Jenkins CodeQL plugin, but currently it only supports installing and setting up the CodeQL CLI on a Jenkins agent during a build.

Purpose

At a high level, the purpose of this library is to perform the following:

  • Download CodeQL
  • Detect languages of the project
  • Run dynamic CodeQL init step
  • if (language == compiled)
    • Trace the build (set environment variables)
  • Run commands in plugin block
  • Run finalize and analyze commands on all databases
  • Upload results to the project repository

References

A list of helpful references:

Known issues

A list of known issues is available on the GitHub issues page of this project.

Getting Started

This section will contain instructions for using the shared library.

Contributing

Read and understand our contribution guidelines before opening a pull request.

About

Leverage CodeQL analysis via this Jenkins shared library

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages