cannot get create_node to work, would like a more complete example

Asked by qkslvrwolf

I've been messing around with create_node for about an hour and a half, and I can't get it to successfully create a node. Specifically, an ssh node.

I had two guesses as to "launcher_params"...the first was that I needed what was in an existing xml configuration, which I set up as follows:

 launcher_dict = {"host": "xxx.xxx.xxx.xxx", "port": 22, "credentialsId": "jenkins-slave",},

the second was that I would need all the params included in the SSHLauncher constructor (https://github.com/jenkinsci/ssh-slaves-plugin/blob/master/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java)

but that keeps throwing 400 errors as well.

If someone has tested this functionality and gotten it to work, I would sure appreciate a pointer.

Thanks!

sean

Question information

Language:
English Edit question
Status:
Expired
For:
Python Jenkins Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.