Open RecuencoJones opened 8 months ago
Describe the bug
Artifactory.server('artifactory-server-id') throws NullPointerException if default deployer credentials are set to - none -.
Artifactory.server('artifactory-server-id')
NullPointerException
- none -
To Reproduce
Use the Credentials Plugin
artifactory-server-id
some-folder-scoped-credentials
Attempt to use it in a scripted pipeline:
def server = Artifactory.server('artifactory-server-id') server.credentialsId = 'some-folder-scoped-credentials'
Expected behavior
A new artifactory server instance using given folder credentials
Versions
Describe the bug
Artifactory.server('artifactory-server-id')
throwsNullPointerException
if default deployer credentials are set to- none -
.To Reproduce
Use the Credentials Plugin
artifactory-server-id
).some-folder-scoped-credentials
)Attempt to use it in a scripted pipeline:
Expected behavior
A new artifactory server instance using given folder credentials
Versions