I’m trying to analyze branches via jenkins using multibranch plugin, but we are getting a problem that we are not capable to provide the correct target branch, (short-lived branches just provide differential information).
The idea then is to only analyze pull requests and long-lived branches, but for that, I need to get the REGEX of the long-lived branches applied of the project to know if I need to execute the analysis.
Is there any way to get the regex of the long-lived branch defined?
both WS api/settings/values for reading settings values api/setttings/set for setting values
have a component parameter that takes the projectktey.
See https://yoursonarhost/web_api for details.