As a workaround for https://issues.jenkins-ci.org/browse/JENKINS-56512 I am attempting to retrieve the stored credentials for the Artifactory server. After I create the server I call the getCredentialsId() method but it always returns null. Other methods like getUrl() seem to work fine. I have tried on 2 different servers, one PRO and one OSS.