Skip to content

Detect Build Scans published from agents when DurableTaskStep.USE_WATCHING is enabled - #867

Draft
jprinet wants to merge 1 commit into
jenkinsci:masterfrom
jprinet:fix-scan-detection-on-agents
Draft

jprinet wants to merge 1 commit into
jenkinsci:masterfrom
jprinet:fix-scan-detection-on-agents

Detect Build Scans published from agents when DurableTaskStep.USE_WAT…

3f010a7
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded Oct 7, 2026

Line Coverage: 88.24% (+7.28%), Branch Coverage: 50.00% (-16.67%)

Summary for modified lines

  • 45 lines have been modified
  • 2 lines are not covered
  • 2 lines are covered only partially

Overview by baseline

  • Overall project (difference to reference job)
    * Line Coverage: 85.44% (1801/2108) $\color{green}{\textsf{(+0.04%)}}$
    * Branch Coverage: 72.60% (628/865) $\color{red}{\textsf{(-0.05%)}}$
    * Lines of Code: 2108 $\color{green}{\textsf{(+12)}}$
    * Cyclomatic Complexity: 1060 $\color{green}{\textsf{(+4)}}$
  • Modified files (difference to reference job)
    * Line Coverage: 80.95% (34/42) $\color{green}{\textsf{(+4.29%)}}$
    * Branch Coverage: 66.67% (12/18) $\color{red}{\textsf{(-2.08%)}}$
    * Lines of Code: 42
    * Cyclomatic Complexity: 19
  • Modified code lines (difference to modified files)
    * Line Coverage: 88.24% (15/17) $\color{green}{\textsf{(+7.28%)}}$
    * Branch Coverage: 50.00% (2/4) $\color{red}{\textsf{(-16.67%)}}$
    * Lines of Code: 17

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) 87.50% (7/8) 97.37% (74/76) 94.34% (100/106) 89.79% (563/627) 85.44% (1801/2108) 72.60% (628/865) 86.67% (7464/8612)
📈 Overall project (difference to reference job) $\textsf{(±0%)}$ $\textsf{(±0%)}$ $\textsf{(±0%)}$ $\color{green}{\textsf{(+0.05%)}}$ $\color{green}{\textsf{(+0.05%)}}$ $\color{green}{\textsf{(+0.04%)}}$ $\color{red}{\textsf{(-0.05%)}}$ $\color{red}{\textsf{(-0.08%)}}$
🐾 Modified files 100.00% (1/1) 100.00% (2/2) 100.00% (2/2) 100.00% (4/4) 100.00% (10/10) 80.95% (34/42) 66.67% (12/18) 81.13% (129/159)
📈 Modified files (difference to reference job) N/A N/A N/A N/A N/A $\color{green}{\textsf{(+4.29%)}}$ $\color{red}{\textsf{(-2.08%)}}$ N/A
🐾 Modified code lines 100.00% (1/1) 100.00% (2/2) 100.00% (2/2) N/A N/A 88.24% (15/17) 50.00% (2/4) N/A
📈 Modified code lines (difference to modified files) N/A N/A N/A N/A N/A $\color{green}{\textsf{(+7.28%)}}$ $\color{red}{\textsf{(-16.67%)}}$ N/A

Annotations

Check warning on line 84 in hudson/plugins/gradle/injection/BuildScanDetectionTaskListenerDecoratorFactory.java

See this annotation in the file changed.

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

Not covered lines

Lines 83-84 are not covered by tests

Check warning on line 82 in hudson/plugins/gradle/injection/BuildScanDetectionTaskListenerDecoratorFactory.java

See this annotation in the file changed.

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

Partially covered line

Line 82 is only partially covered, one branch is missing

Check warning on line 92 in hudson/plugins/gradle/injection/BuildScanDetectionTaskListenerDecoratorFactory.java

See this annotation in the file changed.

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

Partially covered line

Line 92 is only partially covered, one branch is missing