Skip to content

Commit

Permalink
Merge pull request #803 from jeromepochat/JENKINS-73474
Browse files Browse the repository at this point in the history
[JENKINS-73474] Fix GitHubAppCredentials owner inference
  • Loading branch information
dwnusbaum committed Aug 20, 2024
2 parents 270b362 + 43ce311 commit 86fdb4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public synchronized GitHubAppCredentials withOwner(@NonNull String owner) {
GitHubAppCredentials clone =
new GitHubAppCredentials(getScope(), getId(), getDescription(), getAppID(), getPrivateKey());
clone.apiUri = getApiUri();
clone.owner = getOwner();
clone.owner = owner;

Check warning on line 354 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubAppCredentials.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 354 is not covered by tests
return clone;
});
}
Expand Down

0 comments on commit 86fdb4d

Please sign in to comment.