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 Le 12 août 2016 7:41 AM, "ctime800" <[email protected]> a écrit : It works. Now, does this mean the Publish Over SSH needs to support Jenkins pipeline for this to work? Thanks. On Thursday, August 11, 2016 at 1:37:52 PM UTC-7, Baptiste Mathus wrote: > 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" <[email protected]> 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 [email protected]. >> >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/jenkinsci-users/ca946069-baed-4059-8ccb-60d15e84d239% >> 40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/ca946069-baed-4059-8ccb-60d15e84d239%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/ msgid/jenkinsci-users/451baa30-0b10-405b-806f-30ae9711e494%40googlegroups. com <https://groups.google.com/d/msgid/jenkinsci-users/451baa30-0b10-405b-806f-30ae9711e494%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4J2%2B0mbjO2PvmZZRTdXGSN_idiQvRTu8H7_%3DJBpYp6ng%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
