[Fusionforge-commits] r10281 - trunk/tests/scripts

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Jul 21 20:39:25 CEST 2010


Author: aljeux
Date: 2010-07-21 20:39:25 +0200 (Wed, 21 Jul 2010)
New Revision: 10281

Added:
   trunk/tests/scripts/fusionforge-trunk-build-rpm.sh
Log:
Add script for fusionforge-trunk-build-rpm hudson job

Added: trunk/tests/scripts/fusionforge-trunk-build-rpm.sh
===================================================================
--- trunk/tests/scripts/fusionforge-trunk-build-rpm.sh	                        (rev 0)
+++ trunk/tests/scripts/fusionforge-trunk-build-rpm.sh	2010-07-21 18:39:25 UTC (rev 10281)
@@ -0,0 +1,13 @@
+#!/bin/sh -x
+
+export FFORGE_RPM_REPO=${HUDSON_URL}job/fusionforge-trunk-build-rpm/ws/build/packages
+
+rm -fr $WORKSPACE/build
+mkdir -p $WORKSPACE/build/packages
+
+cp source/gforge/rpm-specific/fusionforge.repo $WORKSPACE/build/packages/fusionforge.repo
+sed -i "s#http://fusionforge.org/#${HUDSON_URL}#" $WORKSPACE/build/packages/fusionforge.repo
+sed -i "s#baseurl = .*#baseurl = $FFORGE_RPM_REPO/#" $WORKSPACE/build/packages/fusionforge.repo
+
+cd source
+make -f Makefile.rh BUILDRESULT=$WORKSPACE/build/packages all


Property changes on: trunk/tests/scripts/fusionforge-trunk-build-rpm.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the Fusionforge-commits mailing list