Skip to content

Add support for fleets created through the CreateFleet API (#410)

ci.jenkins.io / Code Coverage succeeded Nov 2, 2023 in 0s

Line Coverage: 79.20% (+4.75%), Branch Coverage: 68.25% (+3.37%)

Summary for modified lines

  • 431 lines have been modified
  • 47 lines are not covered
  • 21 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% (3/3) 93.75% (30/32) 86.96% (40/46) 70.92% (239/337) 76.30% (1391/1823) 65.70% (523/796) 75.18% (7169/9536)
📈 Overall project (difference to reference job) +0.00% +0.00% +0.20% ⬆️ -1.68% ⬇️ -0.91% ⬇️ -0.01% ⬇️ +0.10% ⬆️ -0.04% ⬇️
🐾 Modified files 100.00% (1/1) 100.00% (3/3) 100.00% (21/21) 88.24% (30/34) 68.95% (191/277) 74.46% (1166/1566) 64.89% (462/712) 73.09% (6007/8219)
📈 Modified files (difference to overall project) n/a n/a n/a n/a n/a -1.85% ⬇️ -0.82% ⬇️ n/a
🐾 Modified code lines 100.00% (1/1) 100.00% (3/3) 100.00% (21/21) n/a n/a 79.20% (179/226) 68.25% (86/126) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a +4.75% ⬆️ +3.37% ⬆️ n/a
🐾 Indirect changes 0.00% (0/1) 0.00% (0/1) 0.00% (0/1) n/a n/a 0.00% (0/2) 0.00% (0/1) n/a

Annotations

Check warning on line 67 in src/main/java/com/amazon/jenkins/ec2fleet/EC2RetentionStrategy.java

See this annotation in the file changed.

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

Partially covered line

Line 67 is only partially covered, one branch is missing

Check warning on line 128 in src/main/java/com/amazon/jenkins/ec2fleet/EC2RetentionStrategy.java

See this annotation in the file changed.

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

Partially covered line

Line 128 is only partially covered, one branch is missing

Check warning on line 176 in src/main/java/com/amazon/jenkins/ec2fleet/EC2RetentionStrategy.java

See this annotation in the file changed.

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

Partially covered line

Line 176 is only partially covered, one branch is missing

Check warning on line 890 in src/main/java/com/amazon/jenkins/ec2fleet/FleetCloud.java

See this annotation in the file changed.

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

Not covered line

Line 890 is not covered by tests

Check warning on line 995 in src/main/java/com/amazon/jenkins/ec2fleet/FleetCloud.java

See this annotation in the file changed.

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

Not covered line

Line 995 is not covered by tests

Check warning on line 632 in src/main/java/com/amazon/jenkins/ec2fleet/FleetCloud.java

See this annotation in the file changed.

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

Partially covered line

Line 632 is only partially covered, 2 branches are missing

Check warning on line 883 in src/main/java/com/amazon/jenkins/ec2fleet/FleetCloud.java

See this annotation in the file changed.

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

Partially covered line

Line 883 is only partially covered, one branch is missing

Check warning on line 994 in src/main/java/com/amazon/jenkins/ec2fleet/FleetCloud.java

See this annotation in the file changed.

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

Partially covered line

Line 994 is only partially covered, one branch is missing

Check warning on line 38 in src/main/java/com/amazon/jenkins/ec2fleet/FleetNodeComputer.java

See this annotation in the file changed.

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

Not covered line

Line 38 is not covered by tests

Check warning on line 553 in src/main/java/com/amazon/jenkins/ec2fleet/FleetLabelCloud.java

See this annotation in the file changed.

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

Not covered lines

Lines 458-553 are not covered by tests

Check warning on line 787 in src/main/java/com/amazon/jenkins/ec2fleet/FleetLabelCloud.java

See this annotation in the file changed.

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

Not covered line

Line 787 is not covered by tests

Check warning on line 21 in src/main/java/com/amazon/jenkins/ec2fleet/fleet/Fleets.java

See this annotation in the file changed.

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

Not covered lines

Lines 20-21 are not covered by tests

Check warning on line 45 in src/main/java/com/amazon/jenkins/ec2fleet/fleet/Fleets.java

See this annotation in the file changed.

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

Not covered lines

Lines 35-45 are not covered by tests

Check warning on line 33 in src/main/java/com/amazon/jenkins/ec2fleet/fleet/Fleets.java

See this annotation in the file changed.

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

Partially covered line

Line 33 is only partially covered, one branch is missing

Check warning on line 59 in src/main/java/com/amazon/jenkins/ec2fleet/fleet/EC2Fleet.java

See this annotation in the file changed.

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

Not covered lines

Lines 52-59 are not covered by tests

Check warning on line 84 in src/main/java/com/amazon/jenkins/ec2fleet/fleet/EC2Fleet.java

See this annotation in the file changed.

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

Not covered line

Line 84 is not covered by tests

Check warning on line 24 in src/main/java/com/amazon/jenkins/ec2fleet/fleet/EC2Fleet.java

See this annotation in the file changed.

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

Partially covered line

Line 24 is only partially covered, one branch is missing

Check warning on line 32 in src/main/java/com/amazon/jenkins/ec2fleet/fleet/EC2Fleet.java

See this annotation in the file changed.

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

Partially covered line

Line 32 is only partially covered, one branch is missing

Check warning on line 46 in src/main/java/com/amazon/jenkins/ec2fleet/fleet/EC2Fleet.java

See this annotation in the file changed.

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

Partially covered line

Line 46 is only partially covered, one branch is missing

Check warning on line 83 in src/main/java/com/amazon/jenkins/ec2fleet/fleet/EC2Fleet.java

See this annotation in the file changed.

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

Partially covered line

Line 83 is only partially covered, 3 branches are missing

Check warning on line 119 in src/main/java/com/amazon/jenkins/ec2fleet/aws/AwsPermissionChecker.java

See this annotation in the file changed.

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

Not covered lines

Lines 45-119 are not covered by tests