[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian: make more readable/less errorprone: ~ is not expanded...
Holger Levsen
gitlab at salsa.debian.org
Wed May 8 23:18:53 BST 2019
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
e11245b3 by Holger Levsen at 2019-05-08T22:17:47Z
reproducible Debian: make more readable/less errorprone: ~ is not expanded when within double-quotes...
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
67c819fb by Holger Levsen at 2019-05-08T22:18:45Z
reproducible Debian: run rsync2buildinfos.d.n every other hour now that it just produces one mail per day
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rsync2buildinfos.debian.net
Changes:
=====================================
bin/rsync2buildinfos.debian.net
=====================================
@@ -9,7 +9,7 @@
### this is running on coccia.debian.org via holger's crontab: ###
### ###
### # m h dom mon dow command ###
-### 0 1,7,13,19 * * * ~holger/rsync2buildinfos.debian.net ###
+### 0 */2 * * * ~holger/rsync2buildinfos.debian.net ###
### ###
###################################################################
@@ -19,7 +19,7 @@ DAY="$(date -u +%d)"
TARGETHOST="profitbricks-build7-amd64.debian.net"
TARGETDIR="/var/lib/jenkins/userContent/reproducible/debian/ftp-master.debian.org/buildinfo"
SOURCEDIR="/srv/ftp-master.debian.org/buildinfo/"
-LOG=~/rsync-$YEAR-$MONTH-$DAY.log
+LOG="$HOME/rsync-$YEAR-$MONTH-$DAY.log"
rsync_day(){
echo "$(date -u) - rsyncing .buildinfo files for $YEAR/$MONTH/$DAY..." >> $LOG
@@ -61,7 +61,7 @@ else
DAY="$(date -u -d '1 day ago' +%d)"
rsync_day
# output yesterdays logfile if this hasn't been done yet
- OLDLOG=~/rsync-$YEAR-$MONTH-$DAY.log
+ OLDLOG="$HOME/rsync-$YEAR-$MONTH-$DAY.log"
if [ -f "$OLDLOG" ] ; then
cat $OLDLOG
echo "$(date -u) - $OLDLOG flushed via cron output." >> $LOG
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/f5edd5023df77e523de9c3165ff991849211457e...67c819fb3b23a741139831b750603705c497971e
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/f5edd5023df77e523de9c3165ff991849211457e...67c819fb3b23a741139831b750603705c497971e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190508/9e8f0987/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list