-
Bug
-
Resolution: Incomplete
-
Minor
-
None
-
ubuntu 16.04
jenkins 2.32.3
publish-over-ssh 1.17
When using the closure bapSshPublisher in Jenkins DSL, sshCredentials is required even though it appears to be optional when creating a job through the Jenkins UI:
configName(String value) - required
Select an SSH configuration from the list configured in the global configuration of this Jenkins.
sshCredentials {} - required
Set the credentials to use with this connection.If you want to use different credentials from those configured for this server, or if the credentials have not been specified for this server, then enable this option and set them here.
The resulting job allows de-selection of credentials, but DSL requires it.
sshCredentials should optional when using bapSshPublisher in the Jenkins DSL, especially when there's a global configuration that is referenced through configName.
[JENKINS-43100] bapSshPublisher closure requires sshCredentials in Jenkins DSL.
Component/s | New: job-dsl-plugin [ 16720 ] | |
Component/s | Original: publish-over-ssh-plugin [ 15792 ] |
Assignee | Original: bap [ bap ] | New: Daniel Spilker [ daspilker ] |
Component/s | New: publish-over-ssh-plugin [ 15792 ] |
Assignee | Original: Daniel Spilker [ daspilker ] | New: Alex Earl [ slide_o_mix ] |
Assignee | Original: Alex Earl [ slide_o_mix ] | New: Daniel Spilker [ daspilker ] |
Assignee | Original: Daniel Spilker [ daspilker ] | New: Jamie Tanna [ jamietanna ] |
Resolution | New: Incomplete [ 4 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |