Skip to content

Commit

Permalink
store cargo deny report JSON artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardcl committed Sep 19, 2024
1 parent 6e6ffdc commit 0469361
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions be-rust-axum/Jenkinsfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ def stageCI(def context) {
}
stage('Cargo Deny') {
sh """
# mkdir -p build/test-results/deny
# cargo deny --format json check &> build/test-results/deny/cargo-deny-report.json
cargo deny check
mkdir -p build/test-results/deny
cargo deny --format json check &> build/test-results/deny/cargo-deny-report.json
cat build/test-results/deny/cargo-deny-report.json
"""
archiveArtifacts artifacts: 'build/test-results/deny/cargo-deny-report.json', fingerprint: true
}
stage('Cargo Test') {
sh """
Expand Down

0 comments on commit 0469361

Please sign in to comment.