summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-06 19:09:07 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-06 19:16:08 +0200
commitf0a18cab05da1130bf9ac1f634b10cf881fd192a (patch)
tree3953610757d9ab60ebae27eddd6e2a706821e31d /bin/reproducible_build.sh
parent1592fff49e7b73d3b79ea745d5276603f49800e4 (diff)
downloadjenkins.debian.net-f0a18cab05da1130bf9ac1f634b10cf881fd192a.tar.xz
reproducible: more refactoring. add write_explaination_table() to be used for all tested projects.
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 013bf2f2..55912ceb 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -109,11 +109,6 @@ cleanup_userContent() {
rm -f $BASE/buildinfo/${SUITE}/${ARCH}/${SRCPACKAGE}_*.buildinfo > /dev/null 2>&1
}
-calculate_build_duration() {
- END=$(date +'%s')
- DURATION=$(( $END - $START ))
-}
-
update_db_and_html() {
# everything passed at this function is saved as a status of this package in the db
STATUS="$@"
@@ -145,13 +140,6 @@ update_rbuildlog() {
RBUILDLOG=$BASE/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log
}
-print_out_duration() {
- local HOUR=$(echo "$DURATION/3600"|bc)
- local MIN=$(echo "($DURATION-$HOUR*3600)/60"|bc)
- local SEC=$(echo "$DURATION-$HOUR*3600-$MIN*60"|bc)
- echo "$(date) - total duration: ${HOUR}h ${MIN}m ${SEC}s." | tee -a ${RBUILDLOG}
-}
-
handle_404() {
echo "Warning: Download of ${SRCPACKAGE} sources from ${SUITE} failed." | tee -a ${RBUILDLOG}
ls -l ${SRCPACKAGE}* | tee -a ${RBUILDLOG}