-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.x
It would be great if the chef identity plugin would support build pipelines. Either by changing ChefIdentityBuildWrapper to extend SimpleBuildWrapper or better yet, by adding some sort of withChefIdentity method, similar to the withCredentials or withEnv.
Maybe like this?
stage("upload") { withChefIdentity("my_org") { sh "knife cookbook upload foo -o .. -c .chef/knife.rb" } }