jenkinsci / jenkinsci/git-plugin

[JENKINS-22972] Add option to delete branch after successful merge on Git Publisher

Open
#2,473 0 comments 0 reactions 0 assignees View on GitHub
component:git-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

In the "Git Publisher" option of "Post Build" actions, it would be useful to be able to automatically delete the remote branch on a successful merge.

---
Originally reported by tzrlk, imported from: Add option to delete branch after successful merge on Git Publisher


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • label(s): git-publisher
  • resolution: Unresolved
  • votes: 8
  • watchers: 4
  • imported: 2025-12-02

Raw content of original issue

In the "Git Publisher" option of "Post Build" actions, it would be useful to be able to automatically delete the remote branch on a successful merge.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.