Skip to content

Commit

Permalink
[JENKINS-73474] Fix GitHubAppCredentials owner inference
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromepochat committed Aug 20, 2024
1 parent 270b362 commit 43ce311
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 43ce311

Please sign in to comment.