Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete compatibility with Jenkins configuration-as-code #301

Open
ahallermed opened this issue Mar 30, 2023 · 0 comments
Open

Complete compatibility with Jenkins configuration-as-code #301

ahallermed opened this issue Mar 30, 2023 · 0 comments

Comments

@ahallermed
Copy link

What feature do you want to see added?

I wish to be able to fully configure the publish-over-ssh-plugin via the configuration-as-code-plugin.
Currently, only the following parameters of the common configuration are supported via configuration as code.

  sshPublisher:
    commonConfig:
       disableAllExec: false,
       encryptedPassphrase: ...
       key: ...
       keyPath: ....

Desired behaviour would be that also the ssh server could be added via yaml configuration:

  sshPublisher:
    commonConfig:
       disableAllExec: false,
       encryptedPassphrase: ...
       key: ...
       keyPath: ....
    hostConfig:
      - name: "first server"
        hostname: 123.123.123.123
       username: myuser
       ...
     - name: "second server"
       ....

Links from configuration-as-code-plugin, how to make the extension completely compatible:
https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/PLUGINS.md

That would help me a lot, as I have several servers to configure and your plugin is perfect for my usecase.
Thank you in advance.

Upstream changes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant