jenkins - Automatically remove Sonarqube branch projects when git branch merged / removed -
we have jenkins pipeline using multibranch workflow plugin . each git branch execute sonarqube analysis creating sonarqube project using sonar.branch property. useful because each branch being analyzed before merge it, problem appear when branch merged master , disappear on git, project continues on sonarqube , need deleted manually. there way automatically? or other recomendation? the best way remove sonarqube branch projects not push them server in first place. here options: use sonarlint spot issues directly in ide if you're using github, use github plugin if you're using bitbucket, use this plugin or this one at sonarsource, use sonarlint , github plugin on daily basis. 1 last solution delete manually project using api/projects/delete web service.