Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new options to GitHub App credentials to allow dynamic restrictions of the repositories and permissions available to installation access tokens in some contexts #822

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Fix broken Javadoc links

bd580dc
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded Dec 20, 2024 in 0s

Line Coverage: 71.81% (+13.99%), Branch Coverage: 52.63% (+1.50%)

Summary for modified lines

  • 726 lines have been modified
  • 64 lines are not covered
  • 13 lines are covered only partially

Overview by baseline

Quality Gates Summary

No active quality gates.

Details

Project coverage details

Module Coverage Package Coverage File Coverage Class Coverage Method Coverage Line Coverage Branch Coverage Instruction Coverage
🐾 Overall project 100.00% (1/1) 100.00% (2/2) 87.84% (65/74) 86.71% (150/173) 69.89% (643/920) 57.14% (2876/5033) 46.60% (1117/2397) 56.63% (12088/21347)
📈 Overall project (difference to reference job) +0.00% +0.00% +1.47% ⬆️ +0.54% ⬆️ +1.10% ⬆️ +0.70% ⬆️ +0.22% ⬆️ +0.75% ⬆️
🐾 Modified files 100.00% (1/1) 100.00% (2/2) 100.00% (13/13) 89.66% (52/58) 74.73% (272/364) 57.82% (1683/2911) 51.13% (722/1412) 57.41% (7277/12675)
📈 Modified files (difference to reference job) n/a n/a n/a n/a n/a +1.19% ⬆️ +0.17% ⬆️ n/a
🐾 Modified code lines 100.00% (1/1) 100.00% (2/2) 84.62% (11/13) n/a n/a 71.81% (163/227) 52.63% (40/76) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a +13.99% ⬆️ +1.50% ⬆️ n/a
🐾 Indirect changes 100.00% (1/1) 100.00% (1/1) 50.00% (1/2) n/a n/a 54.55% (6/11) 60.00% (3/5) n/a

Annotations

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 175 is not covered by tests

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 210 is not covered by tests

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 328 is not covered by tests

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered lines

Lines 374-378 are not covered by tests

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 388 is not covered by tests

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered lines

Lines 461-467 are not covered by tests

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 664 is not covered by tests

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered lines

Lines 855-868 are not covered by tests

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 172 is only partially covered, one branch is missing

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 207 is only partially covered, one branch is missing

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 301 is only partially covered, one branch is missing

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 327 is only partially covered, one branch is missing

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 387 is only partially covered, one branch is missing

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 472 is only partially covered, 3 branches are missing

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 598 is only partially covered, 3 branches are missing

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

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 663 is only partially covered, one branch is missing

Check warning on line 1196 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered lines

Lines 1195-1196 are not covered by tests

Check warning on line 1189 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 1189 is only partially covered, one branch is missing

Check warning on line 2139 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 2139 is not covered by tests

Check warning on line 230 in src/main/java/org/jenkinsci/plugins/github_branch_source/Connector.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 230 is not covered by tests

Check warning on line 190 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubBuildStatusNotification.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered lines

Lines 77-190 are not covered by tests

Check warning on line 103 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubAppUsageContext.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 103 is not covered by tests

Check warning on line 105 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubAppUsageContext.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 105 is not covered by tests

Check warning on line 102 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubAppUsageContext.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 102 is only partially covered, one branch is missing

Check warning on line 104 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubAppUsageContext.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 104 is only partially covered, 2 branches are missing