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

Publish over SSH plugin not using Jenkins credentials #348

Open
Isegrimm opened this issue Jul 22, 2024 · 1 comment
Open

Publish over SSH plugin not using Jenkins credentials #348

Isegrimm opened this issue Jul 22, 2024 · 1 comment

Comments

@Isegrimm
Copy link

Hi,

We have an exisiting Jenkins instance (2.289.3) with 1.21 installed, which runs this plugin with a stored Global credential (SSH keypair) and is able to connect to the SSH host just fine.
As an upgrade path in progress we also have a new Jenkins instance (2.452.2) running 1.25 with the same setup, on which the plugin fails to connect, unless I enter the key directly in the Publish over SSH config, even though it's configured identical in a Global credential.

So I think that somewhere between versions 1.21 and 1.25 the Jenkins credential provider is not used anymore, requiring credentials to be entered directly in the 'Publis over SSH' configuration. Is that a correct assumption or am I missing something completely obvious?

I have searched online for this problem and the only info I found was this issue: #70
So, is this a feature or a bug? And if it's a bug, is there any update on fixing it?

@Isegrimm
Copy link
Author

I understand from #70 (comment) that it is a bug which still needs to be fixed.
So to make it work on the new version, I'll configure the SSH key for each node seperately.

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

No branches or pull requests

1 participant