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

Adds support for using job-specific policies #223

Merged
merged 6 commits into from
Nov 20, 2023

Fix handling of TTL in child tokens

ed920da
Select commit
Loading
Failed to load commit list.
Merged

Adds support for using job-specific policies #223

Fix handling of TTL in child tokens
ed920da
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded Nov 17, 2023 in 0s

Line Coverage: 90.70% (+8.13%), Branch Coverage: 80.00% (+1.31%)

Summary for modified lines

  • 193 lines have been modified
  • 8 lines are not covered
  • 4 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% (8/8) 87.93% (51/58) 79.17% (76/96) 64.19% (285/444) 60.90% (863/1417) 62.97% (199/316) 57.91% (3418/5902)
📈 Overall project (difference to reference job) +0.00% +0.00% +0.00% +0.00% +0.70% ⬆️ +1.50% ⬆️ +1.60% ⬆️ +1.86% ⬆️
🐾 Modified files 100.00% (1/1) 100.00% (3/3) 100.00% (4/4) 100.00% (5/5) 77.63% (59/76) 82.57% (289/350) 78.69% (96/122) 77.08% (1123/1457)
📈 Modified files (difference to overall project) n/a n/a n/a n/a n/a +21.67% ⬆️ +15.71% ⬆️ n/a
🐾 Modified code lines 100.00% (1/1) 100.00% (3/3) 100.00% (4/4) n/a n/a 90.70% (78/86) 80.00% (24/30) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a +8.13% ⬆️ +1.31% ⬆️ n/a

Annotations

Check warning on line 35 in src/main/java/com/datapipe/jenkins/vault/credentials/AbstractVaultTokenCredentialWithExpiration.java

See this annotation in the file changed.

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

Not covered line

Line 35 is not covered by tests

Check warning on line 90 in src/main/java/com/datapipe/jenkins/vault/credentials/AbstractVaultTokenCredentialWithExpiration.java

See this annotation in the file changed.

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

Not covered lines

Lines 89-90 are not covered by tests

Check warning on line 111 in src/main/java/com/datapipe/jenkins/vault/credentials/AbstractVaultTokenCredentialWithExpiration.java

See this annotation in the file changed.

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

Not covered lines

Lines 110-111 are not covered by tests

Check warning on line 129 in src/main/java/com/datapipe/jenkins/vault/credentials/AbstractVaultTokenCredentialWithExpiration.java

See this annotation in the file changed.

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

Not covered line

Line 129 is not covered by tests

Check warning on line 169 in src/main/java/com/datapipe/jenkins/vault/credentials/AbstractVaultTokenCredentialWithExpiration.java

See this annotation in the file changed.

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

Not covered line

Line 169 is not covered by tests

Check warning on line 76 in src/main/java/com/datapipe/jenkins/vault/credentials/AbstractVaultTokenCredentialWithExpiration.java

See this annotation in the file changed.

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

Partially covered line

Line 76 is only partially covered, 2 branches are missing

Check warning on line 109 in src/main/java/com/datapipe/jenkins/vault/credentials/AbstractVaultTokenCredentialWithExpiration.java

See this annotation in the file changed.

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

Partially covered line

Line 109 is only partially covered, one branch is missing

Check warning on line 116 in src/main/java/com/datapipe/jenkins/vault/credentials/AbstractVaultTokenCredentialWithExpiration.java

See this annotation in the file changed.

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

Partially covered line

Line 116 is only partially covered, one branch is missing

Check warning on line 105 in src/main/java/com/datapipe/jenkins/vault/configuration/VaultConfiguration.java

See this annotation in the file changed.

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

Partially covered line

Line 105 is only partially covered, one branch is missing

Check warning on line 95 in src/main/java/com/datapipe/jenkins/vault/VaultAccessor.java

See this annotation in the file changed.

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

Not covered line

Line 95 is not covered by tests

Check warning on line 150 in src/main/java/com/datapipe/jenkins/vault/VaultAccessor.java

See this annotation in the file changed.

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

Partially covered line

Line 150 is only partially covered, one branch is missing