-
New Feature
-
Resolution: Unresolved
-
Minor
This is similar request to https://issues.jenkins-ci.org/browse/JENKINS-37907, but for workflow-multibranch-plugin.
Rationale:
Team is using short term feature branches and for each of them SonarQube analysis is executed. SonarQube treats branch builds as separate SonarQube projects. I would like to have a possibility to hook in when branch is being deleted and call SonarQube API to delete this branch-specific project.
- is duplicated by
-
JENKINS-44028 Running a script when deleting a pipeline from a multibranch pipeline
-
- Closed
-
- relates to
-
JENKINS-37220 Job DSL analogue of multibranch projects & organization folders
-
- Open
-
-
JENKINS-37907 Include abililty to hook branch deletion.
-
- Resolved
-
[JENKINS-40606] Add ability to perform actions on branch removal
Link |
New:
This issue relates to |
Component/s | New: plugin-proposals [ 15491 ] | |
Component/s | Original: workflow-multibranch-plugin [ 21465 ] | |
Labels | New: multibranch |
Use ItemListener.onDeleted from a plugin. I suppose you are asking for some sort of “userspace” hook, like a shell script or something, which you could configure perhaps as a JobProperty. If so, this would better be moved to plugin-proposals.
Seems like a straight-up duplicate of
JENKINS-37907, which seems to have been closed improperly.