-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-72330] Fix test connection in case a GitHub App has more tha…
…n 1 installation (#748) * Add additional check when testing the connection if the configured GitHub App has more than 1 installation, in which case the owner of the first installation is used to test the connection. Clarify the documentation of the owner field that it is not required unless you wanna restrict to a single organization. * Apply spotless complaints.
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...resources/org/jenkinsci/plugins/github_branch_source/GitHubAppCredentials/help-owner.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<p> | ||
The organisation or user that this app is to be used for. | ||
Only required if this app is installed to multiple organisations. | ||
Only required if this app is installed to multiple organisations and connections | ||
should be restricted to a single organisation. | ||
May be omitted in case credentials are used from GitHub multibranch projects | ||
(in that case the account is determined from the branch source where the credentials are used). | ||
</p> |