ghprb-plugin icon indicating copy to clipboard operation
ghprb-plugin copied to clipboard

Unable to Remove the "Update commit status during build" Trigger

Open smreichling opened this issue 8 years ago • 10 comments

Steps to Reproduce:

  1. Edit the Jenkins configuration of a project using this plugin.
  2. Scroll to the GitHub Pull Request Builder section of the configuration and click on the "Trigger Setup..." button at the bottom.
  3. Click the "Delete" button at the bottom of the "Update commit status during build" item.
  4. Click the "Save" button at the bottom of the screen.
  5. 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.

smreichling avatar Sep 12 '16 21:09 smreichling

I have the same issue:

untitled

First job has been deleted from Jenkins but steel here on the GitHub.

Nmishin avatar Sep 21 '16 10:09 Nmishin

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:

screen shot 2016-09-21 at 9 29 35 am

smreichling avatar Sep 21 '16 16:09 smreichling

I had the same issue and I tried the workaround suggested by @smreichling and it works.Thanks.

Farkya avatar Dec 16 '16 21:12 Farkya

Experiencing the same issue @smreichling 's fix worked for me

RobAWilkinson avatar Dec 07 '17 02:12 RobAWilkinson

Worked for me too, but now the build doesn't notify if it has started or in progress etc, like it does before.

sumanthkumarc avatar May 23 '18 05:05 sumanthkumarc

Experiencing the same issue jenkins-context detail

How do I get rid of the default row ?

xianxiaoyin avatar Jun 04 '19 08:06 xianxiaoyin

Same issue here

Tarasovych avatar Jul 17 '20 06:07 Tarasovych

+1 still buggy Debian environment, had no issue on centos for years

Synida avatar May 10 '21 09:05 Synida

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

Synida avatar May 10 '21 10:05 Synida

Same issue. Cannot remove that action. After saving, it's always there.

gtirloni avatar Dec 09 '22 21:12 gtirloni