Rsync when extracting a package from the framework. Use nocolor on build output.
authorGunnar Wrobel <p@rdus.de>
Sun, 3 Oct 2010 17:39:06 +0000 (19:39 +0200)
committerGunnar Wrobel <p@rdus.de>
Sun, 3 Oct 2010 17:45:50 +0000 (19:45 +0200)
components/data/hudson-component-config.xml.template

index 98a062b..092cbaf 100644 (file)
   <concurrentBuild>false</concurrentBuild>
   <builders>
     <hudson.tasks.Shell>
-      <command>cp -r ${WORKSPACE}/../../%2$s/workspace/%1$s/* ${WORKSPACE}/
-rm -rf ${WORKSPACE}/deps
+      <command>rsync -avz ${WORKSPACE}/../../%2$s/workspace/%1$s/* ${WORKSPACE}/ --exclude="build.xml" --delete-after
 mkdir ${WORKSPACE}/deps
-php -d include_path=&quot;.:${WORKSPACE}/../../%3$s/php&quot; ${WORKSPACE}/../../%3$s/horde-components --install=${WORKSPACE}/deps ${WORKSPACE}/../../%2$s/workspace/%1$s
+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
     </command>
     </hudson.tasks.Shell>