You can simply use a plain ssh or scp call through an sh step, wrapped in an sshagent step.
Cheers
I need to use the Jenkins Publish over ssh plugin in the Jenkins pipeline. What would be the syntax for this? I tried to use the script generator but this one is not in the list. Please advise. Thanks.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ca946069-baed-4059-8ccb-60d15e84d239%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can simply use a plain ssh or scp call through an sh step, wrapped in an sshagent step.
Cheers
Le 11 août 2016 8:31 AM, "ctime800" <chri...@gmail.com> a écrit :
I need to use the Jenkins Publish over ssh plugin in the Jenkins pipeline. What would be the syntax for this? I tried to use the script generator but this one is not in the list. Please advise. Thanks.--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
Yes. Plugins have generally to be explicitly modified to support pipeline.
In that case, as this is quite simple to do with /raw/ calls, I suppose this may be the reason nobody IIRC bothered adding a step for that in publish over ssh plugin or another one.
Cheers
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/451baa30-0b10-405b-806f-30ae9711e494%40googlegroups.com.