I would recommend always using the declarative generator that is available on your Jenkins instance, it allows you to use a UI to generate the proper pipeline syntax. https:/YOURJENKINS/directive-generator/
On Thu, Jan 12, 2023 at 9:54 AM [email protected] <[email protected]> wrote: > Ha. I'm not alone re: the Publish over SSH plugin > > > https://www.reddit.com/r/jenkinsci/comments/ef5bkh/copying_files_via_sftp_using_declaritive_andor/ > > Chris > > On Thursday, January 12, 2023 at 11:04:17 AM UTC-5 [email protected] wrote: > >> Nice. How do I use it in a pipeline? The plugin page just shows >> point-and-click UI setup options. I use the FTP publisher plugin this way >> for example >> >> dir($WORKSPACE) { >> timeout(time: 5) { // timeout in mins >> ftpPublisher: // options >> } >> } >> >> >> On Thursday, January 12, 2023 at 10:54:16 AM UTC-5 slide wrote: >> >>> There is the Publish Over SSH plugin that is similar to the one you are >>> using. https://plugins.jenkins.io/publish-over-ssh/ >>> >>> On Thu, Jan 12, 2023 at 8:46 AM [email protected] <[email protected]> >>> wrote: >>> >>>> Sorry I'm using Publish Over FTP >>>> <https://plugins.jenkins.io/publish-over-ftp/> >>>> >>>> On Thursday, January 12, 2023 at 10:42:20 AM UTC-5 [email protected] >>>> wrote: >>>> >>>>> I'm currently using the FTP Publisher >>>>> <https://plugins.jenkins.io/ftppublisher/> plugin to publish to an >>>>> FTP server. However, IT moved to a secure FTP server. Is there an >>>>> equivalent SFTP Plugin? I did look to no avail. >>>>> >>>>> My Jenkins jobs are running on Windows build nodes. >>>>> >>>>> TIA, >>>>> Chris >>>>> >>>> -- >>>> 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/66f8a274-5c18-45d6-bc6a-71563571750en%40googlegroups.com >>>> <https://groups.google.com/d/msgid/jenkinsci-users/66f8a274-5c18-45d6-bc6a-71563571750en%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> -- >>> Website: http://earl-of-code.com >>> >> -- > 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/ee62f76e-23fb-4585-80c3-df444a84bf1bn%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/ee62f76e-23fb-4585-80c3-df444a84bf1bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Website: http://earl-of-code.com -- 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/CAPiUgVc6OoH%2BMnurdef3tAc_aJT-ebKdqfoxhERL5rx-5J%2BrdQ%40mail.gmail.com.
