Skip to content

[JENKINS-75691] Add trait to include the ref spec of target branch of pull requests #1047

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

Merged
merged 1 commit into from
May 22, 2025

[JENKINS-75691] Add trait to include the ref spec of target branch of…

ff87925
Select commit
Loading
Failed to load commit list.
Merged

[JENKINS-75691] Add trait to include the ref spec of target branch of pull requests #1047

[JENKINS-75691] Add trait to include the ref spec of target branch of…
ff87925
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded May 22, 2025 in 0s

Line Coverage: 81.82% (+12.28%), Branch Coverage: 75.00% (+27.53%)

Summary for modified lines

  • 216 lines have been modified
  • 6 lines are not covered
  • 14 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% (24/24) 89.17% (140/157) 88.11% (215/244) 71.91% (1088/1513) 65.98% (3692/5596) 50.90% (1018/2000) 64.52% (14458/22407)
📈 Overall project (difference to reference job) ±0% ±0% +0.14% ⬆️ +0.15% ⬆️ +0.52% ⬆️ +0.17% ⬆️ +0.05% ⬆️ +0.12% ⬆️
🐾 Modified files 100.00% (1/1) 100.00% (1/1) 100.00% (14/14) 97.73% (43/44) 75.18% (106/141) 69.54% (226/325) 47.47% (47/99) 66.67% (722/1083)
📈 Modified files (difference to reference job) n/a n/a n/a n/a n/a +2.87% ⬆️ +1.16% ⬆️ n/a
🐾 Modified code lines 100.00% (1/1) 100.00% (1/1) 100.00% (14/14) n/a n/a 81.82% (27/33) 75.00% (3/4) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a +12.28% ⬆️ +27.53% ⬆️ n/a

Annotations

Check warning on line 113 in src/main/java/com/cloudbees/jenkins/plugins/bitbucket/trait/DiscardOldBranchTrait.java

See this annotation in the file changed.

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

Not covered line

Line 113 is not covered by tests

Check warning on line 100 in src/main/java/com/cloudbees/jenkins/plugins/bitbucket/trait/DiscardOldTagTrait.java

See this annotation in the file changed.

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

Not covered line

Line 100 is not covered by tests

Check warning on line 114 in src/main/java/com/cloudbees/jenkins/plugins/bitbucket/trait/PullRequestTargetBranchRefSpecTrait.java

See this annotation in the file changed.

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

Not covered lines

Lines 97-114 are not covered by tests

Check warning on line 66 in src/main/java/com/cloudbees/jenkins/plugins/bitbucket/trait/PullRequestTargetBranchRefSpecTrait.java

See this annotation in the file changed.

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

Partially covered line

Line 66 is only partially covered, one branch is missing

Check warning on line 60 in src/main/java/com/cloudbees/jenkins/plugins/bitbucket/trait/BitbucketSCMSourceTraitDescriptor.java

See this annotation in the file changed.

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

Not covered line

Line 60 is not covered by tests