Use rsync to copy packages from the framework. Add new required options.
authorGunnar Wrobel <p@rdus.de>
Sun, 3 Oct 2010 19:50:57 +0000 (21:50 +0200)
committerGunnar Wrobel <p@rdus.de>
Sun, 3 Oct 2010 19:50:57 +0000 (21:50 +0200)
components/data/hudson-component-config.xml.template

index 092cbaf..e641191 100644 (file)
   <concurrentBuild>false</concurrentBuild>
   <builders>
     <hudson.tasks.Shell>
-      <command>rsync -avz ${WORKSPACE}/../../%2$s/workspace/%1$s/* ${WORKSPACE}/ --exclude="build.xml" --delete-after
-mkdir ${WORKSPACE}/deps
+      <command>rsync -avz --exclude="build.xml" --delete-after ${WORKSPACE}/../../%2$s/workspace/%1$s/* ${WORKSPACE}/
+mkdir -p ${WORKSPACE}/deps
 php -d include_path=&quot;.:${WORKSPACE}/../../%3$s/php&quot; ${WORKSPACE}/../../%3$s/horde-components --install=${WORKSPACE}/deps -N ${WORKSPACE}/../../%2$s/workspace/%1$s
-php -d include_path=&quot;.:${WORKSPACE}/../../%3$s/php&quot; ${WORKSPACE}/../../%3$s/horde-components --ciprebuild=${WORKSPACE} ${WORKSPACE}/../../%2$s/workspace/%1$s
+php -d include_path=&quot;.:${WORKSPACE}/../../%3$s/php&quot; ${WORKSPACE}/../../%3$s/horde-components --ciprebuild=${WORKSPACE} --pearrc=${WORKSPACE}/../../%3$s/../.pearrc ${WORKSPACE}/../../%2$s/workspace/%1$s
     </command>
     </hudson.tasks.Shell>
     <hudson.tasks.Ant>