ghprb-plugin
ghprb-plugin copied to clipboard
Unable to Remove the "Update commit status during build" Trigger
Steps to Reproduce:
- Edit the Jenkins configuration of a project using this plugin.
- Scroll to the GitHub Pull Request Builder section of the configuration and click on the "Trigger Setup..." button at the bottom.
- Click the "Delete" button at the bottom of the "Update commit status during build" item.
- Click the "Save" button at the bottom of the screen.
- Repeat steps 1 & 2 (edit config/click "Trigger Setup").
Expected behavior: the "Update commit status during build" item is no longer present because it was deleted. Actual behavior: the "Update commit status during build" item is still there.
I was able to reproduce this on 1.31.4 and 1.33.1. This is also broken if you try to remove the status update in the application configuration.
I have the same issue:
First job has been deleted from Jenkins but steel here on the GitHub.
I found a workaround for now. Apparently there is a magic value --none--
that you can configure any of message fields to in order to disable that particular message. I just went through and set this for every possible message:
I had the same issue and I tried the workaround suggested by @smreichling and it works.Thanks.
Experiencing the same issue @smreichling 's fix worked for me
Worked for me too, but now the build doesn't notify if it has started or in progress etc, like it does before.
Experiencing the same issue
How do I get rid of the default row ?
Same issue here
+1 still buggy Debian environment, had no issue on centos for years
My issue is that the default global config was copied to the workflow's config xml files, and doesn't matter what I did with it it's still there, so I had to remove it manually from the files and reload the configuration for the jenkins.
I also use a custom status checker for each one of the build workflows, so both of them can be found in the configuration.
The correct status flag settings are stored in the <buildWrappers><org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatus>
section. The incorrect ones, that I cant remove using the UI are in the <extensions><org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
.
If anyone needs to clear out the crap, then delete the incorrect section of the configuration file xml. The location of the files is most likely:
/var/lib/jenkins/<wokflow name>/config.xml
Same issue. Cannot remove that action. After saving, it's always there.