diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index 7701e50..1feceb6 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -64,7 +64,7 @@ pipeline { steps { withEnv(['RUSTFLAGS=-Cinstrument-coverage', 'LLVM_PROFILE_FILE=target/coverage/%p-%m.profraw']) { echo "Executing tests with coverage" - sh 'cargo build --all-features' + sh 'cargo clean' sh 'cargo test --all-features' sh 'grcov . -s . --binary-path ./target/debug -t html --branch --ignore-not-existing -o ./target/debug/coverage/' sshagent(credentials: ['documentation-buildfix']) {