jenkins: criu-lib: add BUILD_NUMBER to the archive filename

Submitted by Mike Rapoport on Sept. 13, 2017, 5:36 p.m.

Details

Message ID 1505324202-1766-2-git-send-email-rppt@linux.vnet.ibm.com
State New
Series "jenkins: criu-lib: kill trailing whitespace"
Headers show

Commit Message

Mike Rapoport Sept. 13, 2017, 5:36 p.m.
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
---
 test/jenkins/criu-lib.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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
 }