prepare new beta version #48

Merged
muellerr merged 2 commits from prep_v0.7.0-beta.3 into main 2023-12-06 20:02:28 +01:00
Showing only changes of commit 0ddb9c69f1 - Show all commits

View File

@ -62,15 +62,13 @@ pipeline {
} }
} }
steps { steps {
script { 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 test --all-features'
sh 'cargo test' 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']) { // Deploy to Apache webserver
// Deploy to Apache webserver sh 'rsync --mkpath -r --delete ./target/debug/coverage/ buildfix@documentation.irs.uni-stuttgart.de:/projects/spacepackets-rs/coverage/latest'
sh 'rsync --mkpath -r --delete ./target/debug/coverage/ buildfix@documentation.irs.uni-stuttgart.de:/projects/spacepackets-rs/coverage/latest'
}
} }
} }
} }