Login and pasword doesn't get converted to a GitHub token

This issue is archived. You can view it, but you can't modify it. Learn more

      Steps to reproduce:

      # docker-compose.yml
      version: '3'
      services:
          jenkins:
              image: jenkins/jenkins:2.277
              ports:
                  - 8080:8080
      
      $ docker-compose up
      
      • Unlock Jenkins
      • Install suggested plugins
      • Create a user
      • Manage Jenkins > Manage Credentials > (Jenkins/global) Add credentials
        • Kind: Username with password
        • Scope: System
        • Username: (email)
        • Password: (password)
      • Manage Jenkins > Configure System > GitHub > Advanced... > Manage additional GitHub actions > Convert login and password to token
      • From credentials
        • Choose the created credentials
        • Create token credentials

      Output:

      Can't create GH token - https://api.github.com/authorizations {"message":"Not Found","documentation_url":"https://docs.github.com/rest"}
      
      • From login and password
        • Login: (email)
        • Password: (password)

      Output: same

      Supposedly Jenkins uses GitHub API v2 or something deprecated.

            Assignee:
            Unassigned
            Reporter:
            Yuri Kanivetsky
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: