summaryrefslogtreecommitdiffstats
path: root/alioth-scripts
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-05-04 18:14:46 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-04 18:31:41 +0200
commit7a381a6fe6f017260bc3c1fb6487d2b4047dd1ec (patch)
treeb6f5e018184cba4f79cdae2863248474c1986263 /alioth-scripts
parent12c04491ccb8ea8570a39595f6b06f5a61e3c97d (diff)
downloadjenkins.debian.net-7a381a6fe6f017260bc3c1fb6487d2b4047dd1ec.tar.xz
add the alioth.d.o rescheduling script for the reproducible team and document it in the README
Diffstat (limited to 'alioth-scripts')
-rwxr-xr-xalioth-scripts/reproducible-reschedule.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/alioth-scripts/reproducible-reschedule.sh b/alioth-scripts/reproducible-reschedule.sh
new file mode 100755
index 00000000..ee6b9c1f
--- /dev/null
+++ b/alioth-scripts/reproducible-reschedule.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+SSH_KEY="/home/groups/reproducible/private/jenkins-key"
+SSH_KNOWN_HOSTS="/home/groups/reproducible/private/ssh_known_hosts"
+
+# "dummy" is discarded by the server ssh (jenkins.debian.net in this case) and
+# it's there because otherwise the client ssh (this) tries to parse the options
+# for the remote command
+LC_USER="$USER" ssh -i "$SSH_KEY" -o GlobalKnownHostsFile="$SSH_KNOWN_HOSTS" jenkins@jenkins.debian.net dummy "$@"