Sha256: 2fc4583b7b286ad9ae08a29f3c91147909559d09164cea16ca3d0e02f9315e2d

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

username = ENV['SUDO_USER'].strip

execute "set git email" do
  command "git config --global user.email 'jenkins-ci@example.com'"
  user username
end

execute "set git user" do
  command "git config --global user.name 'Jenkins CI Server'"
  user username
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lobot-0.10.3 lib/generators/lobot/templates/chef/cookbooks/pivotal_ci/recipes/git_config.rb
lobot-0.10.2 lib/generators/lobot/templates/chef/cookbooks/pivotal_ci/recipes/git_config.rb
lobot-0.10.1 lib/generators/lobot/templates/chef/cookbooks/pivotal_ci/recipes/git_config.rb
lobot-0.10.0 lib/generators/lobot/templates/chef/cookbooks/pivotal_ci/recipes/git_config.rb