Permalink
Browse files

added a field in environment.json to show current cookbook_versions

  • Loading branch information...
1 parent 9f80881 commit 652962208ecc786280a3cbeb94818ce0f0c931aa Ruoran Wang committed Aug 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/chef/jenkins.rb
View
@@ -439,6 +439,7 @@ def load(env_name, item_name)
end
new_cookbook_versions = item['cookbook_versions']
+ env.default_attributes['env_version_tag'] = item_name
env.cookbook_versions(new_cookbook_versions)
env.save
Chef::Log.info("Loaded DataBag: #{data_bag}/#{item_name} into Env: #{env_name}")

0 comments on commit 6529622

Please sign in to comment.