[Qa-jenkins-scm] [jenkins.debian.net] 01/03: use hostname -f to determine own hostname

Holger Levsen holger at moszumanska.debian.org
Sun Sep 6 23:35:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 687321112c084d720acfeb2f6b3e1f895efb8f2c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Sep 7 01:29:07 2015 +0200

    use hostname -f to determine own hostname
---
 hosts/jenkins/etc/rc.local | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hosts/jenkins/etc/rc.local b/hosts/jenkins/etc/rc.local
index 1eac904..9493d09 100755
--- a/hosts/jenkins/etc/rc.local
+++ b/hosts/jenkins/etc/rc.local
@@ -11,6 +11,6 @@
 #
 # By default this script does nothing.
 
-echo "$(date) - system was rebooted" | mail -s "jenkins.d.n rebooted" root
+echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
 
 exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list