From d1b9f4a4d563f50f1f0f9168ababd51f21106d7c Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 7 Dec 2023 11:03:52 +0100 Subject: [PATCH 1/4] that did not help, let's try the clear command --- automation/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index 7701e50..ec1f9c1 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 clear' 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']) { From c45846819bf2183cb51d527f718bbfe07460e64f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 7 Dec 2023 11:04:58 +0100 Subject: [PATCH 2/4] this is weird --- automation/Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index ec1f9c1..179b5d4 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -67,6 +67,7 @@ pipeline { sh 'cargo clear' sh 'cargo test --all-features' sh 'grcov . -s . --binary-path ./target/debug -t html --branch --ignore-not-existing -o ./target/debug/coverage/' + sh 'ls -lr ./target/debug/coverage/' sshagent(credentials: ['documentation-buildfix']) { // Deploy to Apache webserver sh 'rsync --mkpath -r --delete ./target/debug/coverage/ buildfix@documentation.irs.uni-stuttgart.de:/projects/spacepackets-rs/coverage/latest/' From 4b6b935b06ec0df1624bf26a6d05ba9277454fb0 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 7 Dec 2023 11:09:06 +0100 Subject: [PATCH 3/4] clean --- automation/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index 179b5d4..a2d8ab5 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 clear' + 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/' sh 'ls -lr ./target/debug/coverage/' From 960835f99dc06066b8f432f5351856f1365a49c2 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 7 Dec 2023 13:11:14 +0100 Subject: [PATCH 4/4] it's the clean?! --- automation/Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index a2d8ab5..1feceb6 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -67,7 +67,6 @@ pipeline { 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/' - sh 'ls -lr ./target/debug/coverage/' sshagent(credentials: ['documentation-buildfix']) { // Deploy to Apache webserver sh 'rsync --mkpath -r --delete ./target/debug/coverage/ buildfix@documentation.irs.uni-stuttgart.de:/projects/spacepackets-rs/coverage/latest/'