jenkinsci / jenkinsci/credentials-plugin

[JENKINS-61979] cannot select/add credentials in settings -> github server

Open
#863 0 comments 0 reactions 0 assignees View on GitHub
component:credentials-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
134
Forks
258
Avg merge
48m
Merged PRs (30d)
1

Description

I recently encountered a problem in configuring JENKINS. I need to connect with GITHUB. Now, I add my credentials in the 'System Settings-github server', when I click "ADD" and write my information to confirm, the list does not show my credentials. I am annoyed, I tried to reinstall JENKINS, also tried to add my stuff in the credential function, but the result is the same. Help me please, thanks.

---
Originally reported by gesangtome, imported from: cannot select/add credentials in settings -> github server


  • status: Open
  • priority: Major
  • component(s): credentials-plugin
  • label(s): plugins
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-08

Raw content of original issue

I recently encountered a problem in configuring JENKINS. I need to connect with GITHUB. Now, I add my credentials in the 'System Settings-github server', when I click "ADD" and write my information to confirm, the list does not show my credentials. I am annoyed, I tried to reinstall JENKINS, also tried to add my stuff in the credential function, but the result is the same. Help me please, thanks.

environment

```
Fedora 31 workstation

awt.toolkit sun.awt.X11.XToolkit

com.sun.akuma.Daemon daemonized

executable-war /usr/lib/jenkins/jenkins.war

file.encoding UTF-8

file.separator /

java.awt.graphicsenv sun.awt.X11GraphicsEnvironment

java.awt.headless true

java.awt.printerjob sun.print.PSPrinterJob

java.class.path /usr/lib/jenkins/jenkins.war

java.class.version 55.0

java.home /usr/lib/jvm/java-11-openjdk-11.0.6.10-0.fc31.x86_64

java.io.tmpdir /tmp

java.library.path /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib

java.runtime.name OpenJDK Runtime Environment

java.runtime.version 11.0.6+10

java.specification.name Java Platform API Specification

java.specification.vendor Oracle Corporation

java.specification.version 11

java.vendor Oracle Corporation

java.vendor.url http://java.oracle.com/

java.vendor.url.bug http://bugreport.java.com/bugreport/

java.vendor.version 18.9

java.version 11.0.6

java.version.date 2020-01-14

java.vm.compressedOopsMode Zero based

java.vm.info mixed mode, sharing

java.vm.name OpenJDK 64-Bit Server VM

java.vm.specification.name Java Virtual Machine Specification

java.vm.specification.vendor Oracle Corporation

java.vm.specification.version 11

java.vm.vendor Oracle Corporation

java.vm.version 11.0.6+10

jdk.debug release

JENKINS_HOME /var/lib/jenkins

jetty.git.hash a304fd9f351f337e7c0e2a7c28878dd536149c6c

jna.loaded true

jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib

jnidispatch.path /var/lib/jenkins/.cache/JNA/temp/jna7061041560422982676.tmp

line.separator

mail.smtp.sendpartial true

mail.smtps.sendpartial true

os.arch amd64

os.name Linux

os.version 5.5.17-200.fc31.x86_64

path.separator :

sun.arch.data.model 64

sun.boot.library.path /usr/lib/jvm/java-11-openjdk-11.0.6.10-0.fc31.x86_64/lib

sun.cpu.endian little

sun.cpu.isalist

sun.font.fontmanager sun.awt.X11FontManager

sun.io.unicode.encoding UnicodeLittle

sun.java.command /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 --prefix=/jenkins

sun.java.launcher SUN_STANDARD

sun.jnu.encoding UTF-8

sun.management.compiler HotSpot 64-Bit Tiered Compilers

sun.os.patch.level unknown

svnkit.http.methods Digest,Basic,NTLM,Negotiate

svnkit.ssh2.persistent false

user.country CN

user.dir /

user.home /var/lib/jenkins

user.language zh

user.name jenkins

user.timezone Asia/Shanghai

Environment Variables

Name ↓

Value

_ /etc/alternatives/java

HOME /var/lib/jenkins

INVOCATION_ID 057405a2d67245548e0b750b453f76fe

JOURNAL_STREAM 9:369216

LANG zh_CN.UTF-8

LOGNAME jenkins

PATH /sbin:/usr/sbin:/bin:/usr/bin

PWD /

SHELL /bin/bash

SHLVL 2

USER jenkins

ace-editor 1.1 true

ant 1.11 true

antisamy-markup-formatter 2.0 true

apache-httpcomponents-client-4-api 4.5.10-2.0 true

authentication-tokens 1.3 true

bouncycastle-api 2.18 true

branch-api 2.5.6 true

build-timeout 1.19.1 true

cloudbees-folder 6.12 true

command-launcher 1.4 true

credentials 2.3.7 true

credentials-binding 1.22 true

display-url-api 2.3.2 true

docker-commons 1.16 true

docker-workflow 1.23 true

durable-task 1.34 true

email-ext 2.69 true

git 4.2.2 true

git-client 3.2.1 true

git-server 1.9 true

github 1.29.5 true

github-api 1.111 true

github-branch-source 2.6.0 true

github-oauth 0.33 true

gradle 1.36 true

handlebars 1.1.1 true

jackson2-api 2.10.3 true

jaxb 2.3.0.1 true

jdk-tool 1.4 true

jquery-detached 1.2.1 true

jsch 0.1.55.2 true

junit 1.28 true

ldap 1.23 true

localization-support 1.1 true

lockable-resources 2.7 true

mailer 1.32 true

mapdb-api 1.0.9.0 true

matrix-auth 2.5 true

matrix-project 1.14 true

momentjs 1.1.1 true

pam-auth 1.6 true

pipeline-build-step 2.12 true

pipeline-github-lib 1.0 true

pipeline-graph-analysis 1.10 true

pipeline-input-step 2.11 true

pipeline-milestone-step 1.3.1 true

pipeline-model-api 1.6.0 true

pipeline-model-declarative-agent 1.1.1 true

pipeline-model-definition 1.6.0 true

pipeline-model-extensions 1.6.0 true

pipeline-rest-api 2.13 true

pipeline-stage-step 2.3 true

pipeline-stage-tags-metadata 1.6.0 true

pipeline-stage-view 2.13 true

plain-credentials 1.7 true

resource-disposer 0.14 true

scm-api 2.6.3 true

script-security 1.71 true

ssh-credentials 1.18.1 true

ssh-slaves 1.31.2 true

structs 1.20 true

subversion 2.13.1 true

timestamper 1.11.3 true

token-macro 2.12 true

trilead-api 1.0.6 true

workflow-aggregator 2.6 true

workflow-api 2.40 true

workflow-basic-steps 2.19 true

workflow-cps 2.80 true

workflow-cps-global-lib 2.16 true

workflow-durable-task-step 2.35 true

workflow-job 2.38 true

workflow-multibranch 2.21 true

workflow-scm-step 2.11 true

workflow-step-api 2.22 true

workflow-support 3.4 true

ws-cleanup 0.38 true
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.