Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirate to using the GitHub Checks API #133

Open
1 of 3 tasks
bensze01 opened this issue Oct 11, 2023 · 0 comments
Open
1 of 3 tasks

Mirate to using the GitHub Checks API #133

bensze01 opened this issue Oct 11, 2023 · 0 comments
Labels
enhancement New feature or request priority-medium size-m Estimated task size: medium (~1w)

Comments

@bensze01
Copy link
Contributor

Summary:

Migrate from using the Commit Status API and the GitHub Notfiy step to the GitHub Checks API and the corresponding Jenkins plugin.

Motivation:

This would allow us to display rich status reports on GitHub, similar to the Travis integration, enabling:

  • Reporting more possible result types
    • Commit Status API: error, failure, pending, or success
    • Checks API:: action_required, cancelled, failure, neutral, success, skipped, stale, timed_out
  • Displaying build log snippets or longer failure reports on GitHub
    • Commit Status API: Short context + 140 character description
  • Display custom buttons on GitHub, clickable by users with write access to the repo, which send a webhook to Jenkins
    • This would allow us to construct a native one-click UI for adding the commit hash of the PR-head to the CI's auto-buid allowlist
      • Useful for PRs from untrusted contributors and PR-merge jobs in particular, which be triggered multiple times for the same hash

Prerequisites:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-medium size-m Estimated task size: medium (~1w)
Projects
None yet
Development

No branches or pull requests

1 participant