Skip to content

qgong/Sonar-Branch-Comparison-Jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonar Branch Comparison - Jenkins part

Arguments(Environment variables)

  • SONAR_ARGS: custom arguments for sonar runner command
  • SONAR_PROJECT_KEY: id of the project in sonar server
  • SONAR_PROJECT_NAME: project name
  • SONAR_PROJECT_VERSION: project version
  • SONAR_SOURCES: directories which holds source codes
  • SONAR_LANGUAGE: programming language used by the project
  • SONAR_HOST_URL: url of sonar server
  • SONAR_JDBC_URL: jdbc url of the database
  • SONAR_JDBC_USERNAME: database username
  • SONAR_JDBC_PASSWORD: database password
  • BASE_BRANCH: the base branch of the project. Other branches will be compared with it.
  • GERRIT_URL: url of gerrit server
  • GERRIT_USERNAME: gerrit username
  • GERRIT_PASSWORD: gerrit password

Branch comparison flowchart

Branch comparison flowchart

Classes/Modules

Gerrit

Rest api library for gerrit server

Sonar

Library for getting/parsing sonar branch comparison results

Tools

Functions for loading templates, environment variables, etc.

Email(deprecated)

Sending emails using local SMTP server

About

Jenkins scripts for Sonar Branch Comparison testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages