[CRIU] [PATCH] jenkins: criu-lib: add BUILD_NUMBER to the archive filename

Andrei Vagin avagin at virtuozzo.com
Sat Sep 30 04:09:24 MSK 2017


Applied, thanks
On Wed, Sep 13, 2017 at 10:36:42AM -0700, Mike Rapoport wrote:
> 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