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:

at sonarsource, use sonarlint , github plugin on daily basis. 1 last solution delete manually project using api/projects/delete web service.


Comments

Popular posts from this blog

javascript - Why Selenium can't find an element that is graphically visible -

java - How to compare two classes -

mysql - Gateway Timeout Error on Insert 70000 record using Hibernate in Java -