X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-verify-job.sh;h=a1e76c9f54076be466bb876721e27dd9caec39da;hb=2a10c83b2d506008cc6c01c134515fb6328e1f3a;hp=509b9533b3da8ae06af71fb16f65c70e70aee4cd;hpb=4e18e5e3a78806b47a94ce6e337366bf1893697c;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-verify-job.sh b/shell/jjb-verify-job.sh index 509b9533..a1e76c9f 100644 --- a/shell/jjb-verify-job.sh +++ b/shell/jjb-verify-job.sh @@ -1,5 +1,5 @@ #!/bin/bash -# @License EPL-1.0 +# SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. # @@ -28,3 +28,8 @@ do fi done popd + +if [ ! -z "$(ls -A archives/job-configs)" ]; then + tar cJvf archives/job-configs.tar.xz archives/job-configs + rm -rf archives/job-configs +fi