Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Revert "Fix rtd verify job choosing strategy"
[releng/global-jjb.git]
/
shell
/
jjb-verify-job.sh
diff --git
a/shell/jjb-verify-job.sh
b/shell/jjb-verify-job.sh
index
789ffde
..
8dd50f7
100644
(file)
--- a/
shell/jjb-verify-job.sh
+++ b/
shell/jjb-verify-job.sh
@@
-13,7
+13,7
@@
echo "---> jjb-verify-job.sh"
# Ensure we fail the job if any steps fail.
set -eu -o pipefail
# Ensure we fail the job if any steps fail.
set -eu -o pipefail
-jenkins-jobs -l DEBUG test --recursive -o archives/job-configs --
exclude jjb-test jjb
+jenkins-jobs -l DEBUG test --recursive -o archives/job-configs --
config-xml jjb/
# Sort job output into sub-directories. On large Jenkins systems that have
# many jobs archiving so many files into the same directory makes NGINX return
# Sort job output into sub-directories. On large Jenkins systems that have
# many jobs archiving so many files into the same directory makes NGINX return
@@
-28,3
+28,8
@@
do
fi
done
popd
fi
done
popd
+
+if [ -n "$(ls -A archives/job-configs)" ]; then
+ tar cJvf archives/job-configs.tar.xz archives/job-configs
+ rm -rf archives/job-configs
+fi