Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

windows build: copy omnibus config into place

  • Loading branch information...
commit 869eee0b241617e42f18f6c3d5e020c7f9e1e909 1 parent e2be93e
@sdelano sdelano authored
Showing with 16 additions and 0 deletions.
  1. +2 −0  jenkins/build.bat
  2. +14 −0 omnibus.rb.example.windows
View
2  jenkins/build.bat
@@ -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
14 omnibus.rb.example.windows
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.