diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-17 19:58:31 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-17 19:58:31 +0200 |
commit | 56b3fa7e2c76926312b032bc4515bcbcbb5951da (patch) | |
tree | e1ff8db834e462b9b87021a376394871c8a96195 /bin/reproducible_common.sh | |
parent | 044a78e5a985f110f2bd15a9102f673f23997e09 (diff) | |
download | jenkins.debian.net-56b3fa7e2c76926312b032bc4515bcbcbb5951da.tar.xz |
reproducible: refactor, create the package html file directly after build
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-x | bin/reproducible_common.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index ebd58048..346b8ce4 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -103,6 +103,11 @@ JENKINS_URL=${JENKINS_URL:0:-1} # we only need them for html creation but we cannot declare them in a function declare -A SPOKENTARGET declare -A LINKTARGET +NOTES_PATH=/var/lib/jenkins/userContent/notes +ISSUES_PATH=/var/lib/jenkins/userContent/issues +mkdir -p $NOTES_PATH $ISSUES_PATH +# FIXME RB_PATH would also be a good idea +mkdir -p /var/lib/jenkins/userContent/rb-pkg/ init_html() { SUITE=sid @@ -123,11 +128,6 @@ init_html() { SPOKENTARGET["404"]="packages where the sources failed to downloaded" SPOKENTARGET["not_for_us"]="packages which should not be build on 'amd64'" SPOKENTARGET["blacklisted"]="packages which have been blacklisted" - NOTES_PATH=/var/lib/jenkins/userContent/notes - ISSUES_PATH=/var/lib/jenkins/userContent/issues - mkdir -p $NOTES_PATH $ISSUES_PATH - # FIXME RB_PATH would also be a good idea - mkdir -p /var/lib/jenkins/userContent/rb-pkg/ # query some data we need everywhere AMOUNT=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT count(name) FROM sources") COUNT_TOTAL=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT COUNT(name) FROM source_packages") |