summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-16 11:36:40 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-16 11:36:40 +0200
commit43315b1e8f06e0f23b83c733211c34ffa546ee06 (patch)
tree09da88cd359fe444674c2f042b4dd8541949cc4b /bin
parent9b2a7c5fff105edc5bedec249a21ca1409670e33 (diff)
downloadjenkins.debian.net-43315b1e8f06e0f23b83c733211c34ffa546ee06.tar.xz
reproducible: put db into userContent so it can be grabbed for backup
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_stats.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh
index c30a5e2d..fa349fcc 100755
--- a/bin/reproducible_stats.sh
+++ b/bin/reproducible_stats.sh
@@ -9,6 +9,9 @@ common_init "$@"
# common code defining db access
. /srv/jenkins/bin/reproducible_common.sh
+# cp db away for backup purposes
+cp $PACKAGES_DB /var/lib/jenkins/userContent/reproducible.db
+
set +x
declare -A GOOD
declare -A BAD