[CRIU] [PATCH] jenkins: criu-lib: add BUILD_NUMBER to the archive filename
Mike Rapoport
rppt at linux.vnet.ibm.com
Wed Sep 13 20:36:42 MSK 2017
Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>
---
test/jenkins/criu-lib.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/jenkins/criu-lib.sh b/test/jenkins/criu-lib.sh
index 7826337..4b296a2 100644
--- a/test/jenkins/criu-lib.sh
+++ b/test/jenkins/criu-lib.sh
@@ -36,7 +36,7 @@ function fail()
uname -a
ps axf > ps.log
cat /sys/kernel/debug/tracing/trace > trace.log
- tar -czf /home/`basename $0`-${GIT_COMMIT}-$(date +%m%d%H%M).tar.gz .
+ tar -czf /home/`basename $0`-${BUILD_NUMBER}-${GIT_COMMIT}-$(date +%m%d%H%M).tar.gz .
tar -czf report.tar.gz -C test/ report
exit 1
}
--
2.7.4
More information about the CRIU
mailing list