try with build command

This commit is contained in:
Robin Müller 2023-12-07 01:00:07 +01:00
parent 688174e23d
commit 6d0f71bc12
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +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 test --all-features'
sh 'grcov . -s . --binary-path ./target/debug -t html --branch --ignore-not-existing -o ./target/debug/coverage/'
sshagent(credentials: ['documentation-buildfix']) {