Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -914,13 +914,13 @@
return new StandardListBoxModel().includeEmptyValue();
}
try {
for (Project p : gitLabApi
.getProjectApi()
.getUserProjects(projectOwner, new ProjectFilter().withOwned(true))) {
for (Project p : gitLabApi.getGroupApi().getProjects(projectOwner)) {

Check warning on line 917 in src/main/java/io/jenkins/plugins/gitlabbranchsource/GitLabSCMSource.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 917 is not covered by tests
result.add(p.getPathWithNamespace());
}
} catch (GitLabApiException e) {
for (Project p : gitLabApi.getGroupApi().getProjects(projectOwner)) {
for (Project p : gitLabApi

Check warning on line 921 in src/main/java/io/jenkins/plugins/gitlabbranchsource/GitLabSCMSource.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Partially covered line

Line 921 is only partially covered, one branch is missing
.getProjectApi()
.getUserProjects(projectOwner, new ProjectFilter().withOwned(true))) {
result.add(p.getPathWithNamespace());
}
}
Expand Down
Loading