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" <chri...@gmail.com <javascript:>> 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 <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/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 jenkinsci-users+unsubscr...@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. For more options, visit https://groups.google.com/d/optout.