jenkinsci / jenkinsci/checks-api-plugin

How do I create a custom rerun check in Pipeline

Open
#159 1 comment 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Java
Stars
49
Forks
32
Avg merge
2d 5h
Merged PRs (30d)
5

Description

### Describe your use-case which is not covered by existing documentation.

Hello Team,

I am currently using the githubNotify plugin which helps create a status check in Github for my PR's
Screen Shot 2022-04-08 at 2 29 47 PM

I wan to add a re-run to the above check. The github-checks-plugin seem to offer a re-run functionality as stated here.
https://plugins.jenkins.io/github-checks/#plugin-content-rerun-failed-build

Can you please advice on how to achieve this. The piece of code which enables the check during my pipeline run is as below.
githubNotify context: 'Master job status',
description: 'No jobs running',
status: 'SUCCESS',
gitApiUrl: 'https://github.com/api/v3'

### Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

_No response_

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.