Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng/toolkit/server/backupHudsonJobs.sh')
-rw-r--r--releng/toolkit/server/backupHudsonJobs.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/releng/toolkit/server/backupHudsonJobs.sh b/releng/toolkit/server/backupHudsonJobs.sh
new file mode 100644
index 00000000000..68b61e6575a
--- /dev/null
+++ b/releng/toolkit/server/backupHudsonJobs.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+#--------------------------------------------------------------------------------
+# Copyright (c) 2012 CEA LIST.
+#
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Nicolas Bros (Mia-Software)
+#--------------------------------------------------------------------------------
+
+loc=$(dirname "$0")
+cd "$loc"
+
+jobs=$(ssh vlorenzo@build.eclipse.org ls -1 /opt/public/jobs | grep papyrus)
+
+for job in $jobs; do
+ scp vlorenzo@build.eclipse.org:/opt/public/jobs/${job}/config.xml hudsonJobs/${job}.xml
+done

Back to the top