Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
When you go to delete a multibranch folder that is using Github as a branch source - you will see a message "delete repository".
This is usually alarming as the access token used often has permissions to actually do this, but this is not the intent.
This is due to the Pronoun for GithubSCMSource being "Repository".
This is then used in https://github.com/jenkinsci/cloudbees-folder-plugin/blob/cloudbees-folder-6.7/src/main/resources/com/cloudbees/hudson/plugins/folder/AbstractFolder/tasks-new.properties
which ends up with the scary looking:
Attachments
Issue Links
- is caused by
-
JENKINS-38987 SCMHead/SCMSource/SCMNavigator need getPronoun() to assist contextual naming
-
- Closed
-
- links to
proposed fix: https://github.com/jenkinsci/github-branch-source-plugin/pull/195 (many other options "delete" is used elsewhere so maybe it isn't a problem, other than in this case). It is deleteing something, just not the repository.