jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-41750] commit status updating broken

Open
#1,040 4 comments 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

As of today, the commit status updating of my multipipeline project stopped working, and I'm seeing the following error in the logs:

```
Could not update commit status. Message: {"message":"Not Found","documentation_url":"https://developer.github.com/enterprise/2.8/v3"}

```

The following changes were made since the last time things were working:


  • Upgraded all jenkins plugin (last update was ~2 weeks ago)

  • Re-created my scan credentials token as a "username/password" token since I'm unable to use my old "secret text" token since upgrading: see https://issues.jenkins-ci.org/browse/JENKINS-39086

I think the token itself is okay. It has the 'repo:status' scope, and I'm able to manually create a commit statuses with it using the GH API via curl.

Perhaps this is a recent regression causing the wrong HTTP request to be made for creating the commit status? Perhaps limited to GH Enterprise?

I'm happy to provide more information, but I don't know how to get more debugging info on the actual http request that is causing the problem.

---
Originally reported by felixge, imported from: commit status updating broken


  • assignee: cloudbees
  • status: Open
  • priority: Major
  • component(s): github-branch-source-plugin
  • label(s): blueocean, triaged-2018-11
  • resolution: Unresolved
  • votes: 2
  • watchers: 5
  • imported: 2025-12-02

Raw content of original issue

As of today, the commit status updating of my multipipeline project stopped working, and I'm seeing the following error in the logs:


Could not update commit status. Message: {"message":"Not Found","documentation_url":"https://developer.github.com/enterprise/2.8/v3"}


The following changes were made since the last time things were working:


  • Upgraded all jenkins plugin (last update was ~2 weeks ago)

  • Re-created my scan credentials token as a "username/password" token since I'm unable to use my old "secret text" token since upgrading: see https://issues.jenkins-ci.org/browse/JENKINS-39086

I think the token itself is okay. It has the 'repo:status' scope, and I'm able to manually create a commit statuses with it using the GH API via curl.

Perhaps this is a recent regression causing the wrong HTTP request to be made for creating the commit status? Perhaps limited to GH Enterprise?

I'm happy to provide more information, but I don't know how to get more debugging info on the actual http request that is causing the problem.

environment

```
System Properties

Name ↓

Value

awt.toolkit sun.awt.X11.XToolkit

executable-war /usr/lib/jenkins/jenkins.war

file.encoding UTF-8

file.encoding.pkg sun.io

file.separator /

guice.disable.misplaced.annotation.check true

java.awt.graphicsenv sun.awt.X11GraphicsEnvironment

java.awt.headless true

java.awt.printerjob sun.print.PSPrinterJob

java.class.path /usr/lib/jenkins/jenkins.war

java.class.version 51.0

java.endorsed.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/endorsed

java.ext.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/ext:/usr/java/packages/lib/ext

java.home /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre

java.io.tmpdir /tmp

java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

java.runtime.name OpenJDK Runtime Environment

java.runtime.version 1.7.0_121-mockbuild_2016_11_07_01_30-b00

java.specification.name Java Platform API Specification

java.specification.vendor Oracle Corporation

java.specification.version 1.7

java.vendor Oracle Corporation

java.vendor.url http://java.oracle.com/

java.vendor.url.bug http://bugreport.sun.com/bugreport/

java.version 1.7.0_121

java.vm.info mixed mode

java.vm.name OpenJDK 64-Bit Server VM

java.vm.specification.name Java Virtual Machine Specification

java.vm.specification.vendor Oracle Corporation

java.vm.specification.version 1.7

java.vm.vendor Oracle Corporation

java.vm.version 24.121-b00

javax.accessibility.assistive_technologies org.GNOME.Accessibility.JavaBridge

JENKINS_HOME /var/lib/jenkins

jna.loaded true

jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib:/usr/lib64/mysql

jnidispatch.path /tmp/jna--1712433994/jna7170532876831383862.tmp

line.separator

mail.smtp.sendpartial true

mail.smtps.sendpartial true

os.arch amd64

os.name Linux

os.version 4.1.12-61.1.25.el6uek.x86_64

path.separator :

sun.arch.data.model 64

sun.boot.class.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/classes

sun.boot.library.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/lib/amd64

sun.cpu.endian little

sun.cpu.isalist

sun.font.fontmanager sun.awt.X11FontManager

sun.io.unicode.encoding UnicodeLittle

sun.java.command /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20

sun.java.launcher SUN_STANDARD

sun.jnu.encoding UTF-8

sun.management.compiler HotSpot 64-Bit Tiered Compilers

sun.os.patch.level unknown

svnkit.http.methods Digest,Basic,NTLM,Negotiate

svnkit.ssh2.persistent false

user.country US

user.dir /

user.home /var/lib/jenkins

user.language en

user.name jenkins

user.timezone UTC

Environment Variables

Name ↓

Value

_ /etc/alternatives/java

HOME /var/lib/jenkins

LANG en_US.UTF-8

LOGNAME jenkins

NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat

PATH /sbin:/usr/sbin:/bin:/usr/bin

PWD /

SHELL /bin/bash

SHLVL 3

TERM xterm-256color

USER jenkins

XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt

Plugins

Name ↓

Version

Enabled

Pinned

ace-editor 1.1 true false

analysis-core 1.82 true false

ant 1.4 true false

antisamy-markup-formatter 1.5 true false

authentication-tokens 1.3 true false

blueocean 1.0.0-b21 true false

blueocean-autofavorite 0.6 true false

blueocean-commons 1.0.0-b21 true false

blueocean-config 1.0.0-b21 true false

blueocean-dashboard 1.0.0-b21 true false

blueocean-display-url 1.5.1 true false

blueocean-events 1.0.0-b21 true false

blueocean-git-pipeline 1.0.0-b21 true false

blueocean-github-pipeline 1.0.0-b21 true false

blueocean-i18n 1.0.0-b21 true false

blueocean-jwt 1.0.0-b21 true false

blueocean-personalization 1.0.0-b21 true false

blueocean-pipeline-api-impl 1.0.0-b21 true false

blueocean-rest 1.0.0-b21 true false

blueocean-rest-impl 1.0.0-b21 true false

blueocean-web 1.0.0-b21 true false

bouncycastle-api 2.16.0 true false

branch-api 1.11.1 true false

build-name-setter 1.6.5 true false

build-pipeline-plugin 1.5.6 true false

build-timeout 1.18 true false

cloudbees-folder 5.16 true false

conditional-buildstep 1.3.5 true false

config-file-provider 2.15.5 true false

credentials 2.1.11 true false

credentials-binding 1.10 true false

dashboard-view 2.9.10 true false

display-url-api 1.1.1 true false

docker-commons 1.6 true false

docker-workflow 1.9.1 true false

durable-task 1.13 true false

email-ext 2.54 true false

emailext-template 1.0 true false

embeddable-build-status 1.9 true false

external-monitor-job 1.7 true false

favorite 2.0.4 true false

git 3.0.1 true false

git-client 2.2.1 true false

git-parameter 0.7.2 true false

git-server 1.7 true false

github 1.25.1 true false

github-api 1.84 true false

github-branch-source 1.10.1 true false

github-organization-folder 1.5 true false

handlebars 1.1.1 true false

hipchat 2.0.0 true false

htmlpublisher 1.12 true false

icon-shim 2.0.3 true false

jackson2-api 2.7.3 true false

javadoc 1.4 true false

jquery 1.11.2-0 true false

jquery-detached 1.2.1 true false

junit 1.19 true false

ldap 1.14 true false

mailer 1.19 true false

mapdb-api 1.0.9.0 true false

matrix-auth 1.4 true false

matrix-project 1.8 true false

maven-plugin 2.14 true false

metrics 3.1.2.9 true false

momentjs 1.1.1 true false

pam-auth 1.3 true false

parameterized-trigger 2.32 true false

pipeline-build-step 2.4 true false

pipeline-graph-analysis 1.3 true false

pipeline-input-step 2.5 true false

pipeline-milestone-step 1.3 true false

pipeline-model-api 1.0 true false

pipeline-model-declarative-agent 1.0 true false

pipeline-model-definition 1.0 true false

pipeline-rest-api 2.4 true false

pipeline-stage-step 2.2 true false

pipeline-stage-tags-metadata 1.0 true false

pipeline-stage-view 2.4 true false

plain-credentials 1.3 true false

publish-over-ssh 1.17 true false

pubsub-light 1.6 true false

rebuild 1.25 true false

resource-disposer 0.6 true false

run-condition 1.0 true false

scm-api 1.3 true false

scm-sync-configuration 0.0.10 true false

script-security 1.25 true false

sse-gateway 1.15 true false

ssh 2.4 true false

ssh-agent 1.13 true false

ssh-credentials 1.13 true false

structs 1.5 true false

subversion 2.7.1 true false

throttle-concurrents 1.9.0 true false

timestamper 1.8.8 true false

token-macro 2.0 true false

variant 1.1 true false

warnings 4.59 true false

windows-slaves 1.2 true false

workflow-aggregator 2.5 true false

workflow-api 2.8 true false

workflow-basic-steps 2.3 true false

workflow-cps 2.25 true false

workflow-cps-global-lib 2.5 true false

workflow-durable-task-step 2.8 true false

workflow-job 2.9 true false

workflow-multibranch 2.9.2 true false

workflow-scm-step 2.3 true false

workflow-step-api 2.8 true false

workflow-support 2.12 true false

ws-cleanup 0.32 true false
```

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.