Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38417

chef-identity-plugin to support pipeline builds

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • chef-identity-plugin
    • 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"
          }
      }
      

            tfitch Tyler Fitch
            b_dean Ben Dean
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: