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

Mention explicitly in docs that the Github user needs to have push permissions

    Details

    • Similar Issues:

      Description

      This has tricked many people already, and today me: The Github user given in the "account" config field needs to have "Write" permissions to the repository; having Read permissions plus explicit "repo:status" permissions is not enough.

      As https://developer.github.com/v3/repos/statuses/ says:

      "Users with push access can create commit statuses for a given ref:"

      This caused me a couple hours of confusion today, and also confused other projects, e.g. https://github.com/jonnyzzz/TeamCity.GitHub/issues/12

      It would be great if the README that gets rendered onto https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Githubnotify+Step+Plugin could say explicitly that the user given with "account" has to have Write permission to the repo.

      Thanks!

        Attachments

          Activity

          Hide
          rarabaolaza Raul Arabaolaza added a comment -

          Done

          Show
          rarabaolaza Raul Arabaolaza added a comment - Done

            People

            • Assignee:
              rarabaolaza Raul Arabaolaza
              Reporter:
              nh2 Niklas Hambuechen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: