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

Cannot trigger jobs by POSTing to '.../buildWithParameters' with basic auth when using github-oauth plugin

      I have a github user that can successfully start jobs from the web interface, but it receives a 403 Forbidden error with the "<username> is missing the Overall/Read permission" message when I try to trigger the job via a buildWithParameters call.

      Example:
      curl -v -sS http://my-github-user:912h...e29@jenkins.company.com/job/client-set-max-version/buildWithParameters -d READ_ONLY=true

      The issue was raised 5 months ago on mocleiri's github repo(https://github.com/mocleiri/github-oauth-plugin/issues/42), but it's been pretty quiet since. The only workaround I can manage is to add the user as an admin under the plugin settings. It's unfortunate that this is necessary since it's just an automation account that has no business being an admin on anything.

            sag47 Sam Gleske
            jcwilson Josh Wilson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: