diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-02-26 23:40:36 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-27 17:12:59 +0100 |
commit | 6902d71a925e460ffced79ad475b37352a74f4dc (patch) | |
tree | 12f2016a62cf10eef72c9880c8bbf7c4572b9126 /bin | |
parent | 6d8cc5576606b494b35613a8be5dbdf5e490ae6f (diff) | |
download | jenkins.debian.net-6902d71a925e460ffced79ad475b37352a74f4dc.tar.xz |
reproducible: build: stop touching the rbuild file to update atime, this is not checked anymore
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index fd4b21bb..ff78103e 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -37,11 +37,6 @@ update_db_and_html() { # unmark build as properly finished sqlite3 -init $INIT ${PACKAGES_DB} "DELETE FROM schedule WHERE package_id='$SRCPKGID';" set +x - # (force) update html page for package - # (This should normally not be needed except for long building packages - # where the page was already updated after the build started, probably - # through notes being updated.) - touch -d $PREDATE /var/lib/jenkins/userContent/rb-pkg/${SRCPACKAGE}.html gen_packages_html $SRCPACKAGE echo echo "Successfully updated the database and updated $REPRODUCIBLE_URL/rb-pkg/$SRCPACKAGE.html" @@ -140,7 +135,6 @@ else echo "Trying to build ${SRCPACKAGE}/${SUITE} reproducibly now." echo "=============================================================================" set -x - PREDATE=$(date -d "1 minute ago" +'%Y-%m-%d %H:%M') DATE=$(date +'%Y-%m-%d %H:%M') # mark build attempt sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO schedule (package_id, date_scheduled, date_build_started) VALUES ('$SRCPKGID', '$SCHEDULED_DATE', '$DATE');" |