The syntax for the plugin attribute is wrong. If you were to look at
the resulting config.xml you'd some some weird xml, e.g.
<org.jvnet.hudson.plugins.SSHBuilder plugin='ssh@2.3'>
<siteName>ro...@9.123.333.444:22</siteName>
<command>echo 'just for test'</command>
</org.jvnet.hudson.plugins.SSHBuilder plugin='ssh@2.3>
The easiest thing is to remove the plugin reference and try this:
configure { project ->
def sshNode = project/builders/"org.jvnet.hudson.plugins.SSHBuilder"
sshNode/siteName("ro...@9.123.333.444:22")
sshNode/command( "echo 'just for test'")
}
> --
> You received this message because you are subscribed to the Google Groups
> "job-dsl-plugin" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
job-dsl-plugi...@googlegroups.com.
> To post to this group, send email to
job-dsl...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/job-dsl-plugin/920ac4bc-5722-44c4-9bc3-4d1acf565fd8%40googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.