Because otherwise I am too stupid to find them.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
unstable {
// Copy test logs into a special directory
sh """
- mkdir -pv tests/asan
+ mkdir -pv asan
find tests -name "*.log" | xargs --no-run-if-empty \
- cp --verbose --parents --target-directory=tests/asan/
+ cp --verbose --parents --target-directory=asan/
"""
// Archive the logs only if the stage fails
- archiveArtifacts artifacts: "tests/asan/**/*"
+ archiveArtifacts artifacts: "asan/**/*"
echo "The test logs have been archived"
}