Details

    • Similar Issues:

      Description

      Hi,

      I am one of the contributors to Jenkinsapi Python library. I started working on scripting Python client to create nodes and found that nodes API is unusable because creation of the SSH node requires id of the credentials to be used, but there is no API to ask for available credentials.

      I can create credential by doing post to credential page, but there is no way to get an id of that credential.

      To make nodes API work again it would be enough to provide API to create credential, which will return credential id and a method to get list of the credentials.

      Thanks!

        Attachments

          Activity

          Hide
          orrc Christopher Orr added a comment -

          As per the comment above, this was merged a while ago (in 2014, not 2015).

          It was released as part of version 1.10.

          Show
          orrc Christopher Orr added a comment - As per the comment above, this was merged a while ago (in 2014, not 2015). It was released as part of version 1.10.
          Hide
          lechat Aleksey Maksimov added a comment -

          The code with API support have been added and merged to master on 12 Feb 2015: https://github.com/jenkinsci/credentials-plugin/pull/8

          Show
          lechat Aleksey Maksimov added a comment - The code with API support have been added and merged to master on 12 Feb 2015: https://github.com/jenkinsci/credentials-plugin/pull/8

            People

            • Assignee:
              stephenconnolly Stephen Connolly
              Reporter:
              lechat Aleksey Maksimov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: