diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-18 15:08:43 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-18 15:15:17 +0200 |
commit | 55b16c89b5800a9133ce39e8f8530938c81158f8 (patch) | |
tree | 14633fc655c7dd95dd39dabfea29ed6b496a5529 /bin | |
parent | da205d0c42ee816cf341c22e5392c56efe1a7573 (diff) | |
download | jenkins.debian.net-55b16c89b5800a9133ce39e8f8530938c81158f8.tar.xz |
reproducible: do backup in setup script
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_graphs.sh | 4 | ||||
-rwxr-xr-x | bin/reproducible_setup.sh | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 71d54ee9..f02b2d5c 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -9,10 +9,6 @@ common_init "$@" # common code defining db access . /srv/jenkins/bin/reproducible_common.sh -# FIXME: move to daily cleanup job -# cp db away for backup purposes -cp $PACKAGES_DB /var/lib/jenkins/userContent/reproducible.db - set +x init_html gather_stats 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 |