Permalink
Browse files

Make sure ~/.m2/settings.xml is owned by effective CI user

  • Loading branch information...
michaelklishin committed Nov 12, 2012
1 parent f1cb0f7 commit 17d9065bfbeb94224869cd4b41d3107bf91de063
Showing with 4 additions and 1 deletion.
  1. +4 −1 ci_environment/maven3/recipes/default.rb
@@ -38,7 +38,10 @@
per_user_settings = File.join(node.travis_build_environment.home, ".m2", "settings.xml")
cookbook_file(per_user_settings) do
- mode 0644
+ owner node.travis_build_environment.user
+ group node.travis_build_environment.group
+
+ mode 0644
action :nothing
end

0 comments on commit 17d9065

Please sign in to comment.