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

Regarding credentials binding plugin to support credentials of type GitHub App

XMLWordPrintable

      team, 

      currently github app credentials are accessed using usernamepassword method.

      This lacks the owner role provided by credentials of type GitHub app.

      In GitHub where we have multiple organizations and using same Jenkins to access multiple orgs we need to set up same credentials with multiple names specifying different owners. it would be better to have a owner variable while calling we can pass value at runtime.

      i saw couple of tickets opened long back hasn't fixed the issue yet. it would be helpful to have this feature

       

      withCredentials([usernamePassword(credentialsId: 'github-creds', \{*}'ownervariable': 'your github org name here'{*},usernameVariable: 'github-appid', passwordVariable: 'github-token')])

      { // your block here }

            Unassigned Unassigned
            githubofkrishnadhas Krishnadhas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: