Skip to content

[JENKINS-76236] Test Connection in GitHupp App credentials should also use the access strategy #1482

@jenkins-infra-bot

Description

@jenkins-infra-bot

Steps to Reproduce

  1. Configure a GitHub App credential in Jenkins
  2. In Advanced, set ''Specify specific repositories'' and an invalid owner
    1. invalid -> the org or user doesn't have the App installed
  3. Test Connection with blank or a valid org/user

Expected Results

The Credential check should honor the access strategy and fail

Root Cause

Test Connection is only using the provided ''GitHub organization to test against'' as owner of the check, reporting a misleading success.

 

 


Originally reported by apuig, imported from: Test Connection in GitHupp App credentials should also use the access strategy
  • status: Open
  • priority: Major
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-02
Raw content of original issue

Steps to Reproduce

  1. Configure a GitHub App credential in Jenkins
  2. In Advanced, set ''Specify specific repositories'' and an invalid owner
    1. invalid -> the org or user doesn't have the App installed
  3. Test Connection with blank or a valid org/user

Expected Results

The Credential check should honor the access strategy and fail

Root Cause

Test Connection is only using the provided ''GitHub organization to test against'' as owner of the check, reporting a misleading success.

 

 

1 attachment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions