Revision 40db178a5600ef50c518628cbe0328b8a1d058a6 authored by Martynas Pumputis on 03 November 2020, 10:23:05 UTC, committed by Martynas Pumputis on 03 November 2020, 10:23:05 UTC
Signed-off-by: Martynas Pumputis <m@lambda.lt>
1 parent 6ee319d
archive_test_results.sh
#!/bin/bash
cd ${WORKSPACE}/test
TEST_RESULTS="test_results"
ARCHIVE_NAME="${TEST_RESULTS}_${JOB_BASE_NAME}_${BUILD_NUMBER}_${STAGE_NAME/ /}.zip"
find $TEST_RESULTS/ -name "*.zip" | xargs -I '{}' mv '{}' ../
zip -qr ${ARCHIVE_NAME} ${TEST_RESULTS}
mv ${ARCHIVE_NAME} ../
rm -rf ./${TEST_RESULTS}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...