Initial cut at a windows script for building the CI
authorPeter Donald <donaldp@apache.org>
Wed, 17 Oct 2012 20:02:31 +0000 (20:02 +0000)
committerPeter Donald <donaldp@apache.org>
Wed, 17 Oct 2012 20:02:31 +0000 (20:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1399409 13f79535-47bb-0310-9956-ffa450edef68

ci.bat [new file with mode: 0644]

diff --git a/ci.bat b/ci.bat
new file mode 100644 (file)
index 0000000..04ea887
--- /dev/null
+++ b/ci.bat
@@ -0,0 +1,21 @@
+SET SCALA_HOME=F:\hudson\tools\scala-2.9.0.1\r
+SET JRUBY_OPTS=-J-XX:MaxPermSize=312m -J-Xmx1024M\r
+SET JAVA_OPTS=-Xmx1024m -XX:MaxPermSize=312m\r
+\r
+IF "X%BUILD_RVM%" EQ "X1.9.3" SET RUBY_HOME=F:\hudson\tools\Ruby193-p194\r
+IF "X%BUILD_RVM%" EQ "X1.9.2" SET RUBY_HOME=F:\hudson\tools\Ruby192-p290\r
+IF "X%BUILD_RVM%" EQ "X1.8.7" SET RUBY_HOME=F:\hudson\tools\Ruby187-p370\r
+IF "X%BUILD_RVM%" EQ "Xjruby" SET RUBY_HOME=F:\hudson\tools\jruby-1.6.7\r
+\r
+IF "X%BUILD_JVM%" EQ "X1.5" SET JAVA_HOME=F:\hudson\tools\java\jdk1.5.0_22-64\r
+IF "X%BUILD_JVM%" EQ "X1.6" SET JAVA_HOME=F:\hudson\tools\java\jdk1.6.0_27-64\r
+IF "X%BUILD_JVM%" EQ "X1.7" SET JAVA_HOME=F:\hudson\tools\java\jdk1.7.0\r
+\r
+SET GEM_HOME=.gems\r
+SET PATH=%PATH%;%JAVA_HOME%\bin;%RUBY_HOME%\bin\r
+\r
+gem install bundler\r
+bundle install --path vendor/bundle\r
+\r
+SET BUILD_RAKE_TASK=ci\r
+rem rake clobber %BUILD_RAKE_TASK% --trace\r