try with build command
This commit is contained in:
parent
688174e23d
commit
6d0f71bc12
1
automation/Jenkinsfile
vendored
1
automation/Jenkinsfile
vendored
@ -64,6 +64,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
withEnv(['RUSTFLAGS=-Cinstrument-coverage', 'LLVM_PROFILE_FILE=target/coverage/%p-%m.profraw']) {
|
withEnv(['RUSTFLAGS=-Cinstrument-coverage', 'LLVM_PROFILE_FILE=target/coverage/%p-%m.profraw']) {
|
||||||
echo "Executing tests with coverage"
|
echo "Executing tests with coverage"
|
||||||
|
sh 'cargo build --all-features'
|
||||||
sh 'cargo test --all-features'
|
sh 'cargo test --all-features'
|
||||||
sh 'grcov . -s . --binary-path ./target/debug -t html --branch --ignore-not-existing -o ./target/debug/coverage/'
|
sh 'grcov . -s . --binary-path ./target/debug -t html --branch --ignore-not-existing -o ./target/debug/coverage/'
|
||||||
sshagent(credentials: ['documentation-buildfix']) {
|
sshagent(credentials: ['documentation-buildfix']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user