Skip to content

How do I create a custom rerun check in Pipeline #159

Open

Description

@Thilaknath

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

Activity

  1. XiongKezhi commented on Apr 14, 2022

    @XiongKezhi
    Contributor

    We don't support custom rerun, we only support the rerun action automatically added by GitHub after failure. I wonder if you just want a rerun, why want it as a custom action?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions