jenkinsci / github-checks-plugin

Jenkins Plugin for GitHub Checks API
https://plugins.jenkins.io/github-checks/
MIT License
79 stars 38 forks source link

Github Checks configuration not available after installing the plugin #203

Open pkaramol opened 2 years ago

pkaramol commented 2 years ago

Version report

Jenkins and plugins versions report:

Result
Jenkins: 2.303.1
OS: Linux - 5.4.0-1045-aws
---
ace-editor:1.1
ant:1.11
antisamy-markup-formatter:2.1
apache-httpcomponents-client-4-api:4.5.13-1.0
bootstrap4-api:4.6.0-3
bootstrap5-api:5.1.1-1
bouncycastle-api:2.24
branch-api:2.6.5
build-timeout:1.20
caffeine-api:2.9.2-29.v717aac953ff3
checks-api:1.7.2
cloudbees-folder:6.16
command-launcher:1.6
credentials:2.6.1
credentials-binding:1.27
display-url-api:2.3.5
durable-task:1.39
echarts-api:5.1.2-11
email-ext:2.83
font-awesome-api:5.15.4-1
ghprb:1.42.2
git:4.8.2
git-client:3.9.0
git-server:1.10
github:1.34.1
github-api:1.123
github-branch-source:2.11.2
github-checks:1.0.13
gradle:1.37.1
handlebars:3.0.8
jackson2-api:2.12.4
jaxb:2.3.0.1
jdk-tool:1.5
jjwt-api:0.11.2-9.c8b45b8bb173
jquery-detached:1.2.1
jquery3-api:3.6.0-2
jsch:0.1.55.2
junit:1.53
ldap:2.7
lockable-resources:2.11
mailer:1.34
matrix-auth:2.6.8
matrix-project:1.19
momentjs:1.1.1
multibranch-scan-webhook-trigger:1.0.9
okhttp-api:3.14.9
pam-auth:1.6
pipeline-build-step:2.15
pipeline-github-lib:1.0
pipeline-graph-analysis:1.11
pipeline-input-step:2.12
pipeline-milestone-step:1.3.2
pipeline-model-api:1.9.2
pipeline-model-definition:1.9.2
pipeline-model-extensions:1.9.2
pipeline-rest-api:2.19
pipeline-stage-step:2.5
pipeline-stage-tags-metadata:1.9.2
pipeline-stage-view:2.19
plain-credentials:1.7
plugin-util-api:2.4.0
popper-api:1.16.1-2
popper2-api:2.10.1-1
resource-disposer:0.16
scm-api:2.6.5
script-security:1.78
snakeyaml-api:1.29.1
ssh-credentials:1.19
ssh-slaves:1.33.0
sshd:3.1.0
structs:1.23
timestamper:1.13
token-macro:266.v44a80cf277fd
trilead-api:1.0.13
workflow-aggregator:2.6
workflow-api:2.46
workflow-basic-steps:2.24
workflow-cps:2.94
workflow-cps-global-lib:2.21
workflow-durable-task-step:2.39
workflow-job:2.41
workflow-multibranch:2.26
workflow-scm-step:2.13
workflow-step-api:2.24
workflow-support:3.8
ws-cleanup:0.39
Ubuntu 20.04.3 LTS

Reproduction steps

Results

Expected result:

Able to configure Github Status Checks

Actual result:

This configuration is not available anywhere (trying to set up a multibranch pipeline)

pkaramol commented 2 years ago

I don't have any checks appearing on my PR either. (although the push event does trigger my multibranch pipeline)

Screenshot from 2021-09-16 21-31-44

KalleOlaviNiemitalo commented 2 years ago

Make sure your multibranch pipeline uses a "GitHub" branch source, and click the "Add" button in the "Behaviours" section. You should then find "Status Checks Properties" in the menu:

Annotated screen shot of a menu including "Status Checks Properties"

Select "Status Checks Properties" from the menu, and you'll then have the configuration:

Screen shot of "Status Checks Properties" added to a GitHub branch source

The screen shot in the documentation is a bit out of date, though.