Permalink
Browse files

windows build: copy omnibus config into place

  • Loading branch information...
1 parent e2be93e commit 869eee0b241617e42f18f6c3d5e020c7f9e1e909 @sdelano sdelano committed Nov 21, 2012
Showing with 16 additions and 0 deletions.
  1. +2 −0 jenkins/build.bat
  2. +14 −0 omnibus.rb.example.windows
View
@@ -30,6 +30,8 @@ FOR /F %%i in ('call bundle show omnibus') DO SET OMNIBUS_GEM_PATH=%%i
call chef-solo -c .\jenkins\solo.rb -j .\jenkins\windows-dna.json -l debug || GOTO :error
+call copy /Y omnibus.rb.example.windows omnibus.rb || GOTO :error
+
call bundle exec rake projects:%omnibus_project%-windows || GOTO :error
GOTO :EOF
View
@@ -0,0 +1,14 @@
+
+Omnibus.configure do |o|
+ # o.s3_access_key = "something"
+ # o.s3_secret_key = "something"
+ o.s3_bucket = "opscode-omnibus-cache"
+ # o.use_s3_caching = true
+ o.solaris_compiler = "gcc"
+
+ # windows config
+ o.cache_dir = "C:\\omnibus-ruby\\cache"
+ o.source_dir = "C:\\omnibus-ruby\\src"
+ o.build_dir = "C:\\omnibus-ruby\\build"
+ o.package_dir = "C:\\omnibus-ruby\\pkg"
+end

0 comments on commit 869eee0

Please sign in to comment.