summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-18 15:08:43 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-18 15:15:17 +0200
commit55b16c89b5800a9133ce39e8f8530938c81158f8 (patch)
tree14633fc655c7dd95dd39dabfea29ed6b496a5529 /bin/reproducible_setup.sh
parentda205d0c42ee816cf341c22e5392c56efe1a7573 (diff)
downloadjenkins.debian.net-55b16c89b5800a9133ce39e8f8530938c81158f8.tar.xz
reproducible: do backup in setup script
Diffstat (limited to 'bin/reproducible_setup.sh')
-rwxr-xr-xbin/reproducible_setup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh
index 5466f755..c89be793 100755
--- a/bin/reproducible_setup.sh
+++ b/bin/reproducible_setup.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
# blacklist some packages
for PKG in linux cups zurl openclipart eigen3 xmds2 ; do