I have a jenkins master with linux and windows slaves. Also have a shell
 script for recursive FTP files upload. But that doesn't work on windows
 ​slaves.

Does anybody have a platform independent way of doing 
that? Maybe a Python script or something alike. If so, will 
withCredentials work passing the user and password as arguments the same
 way?

Em 22/06/2017 15:44:59, Baptiste Mathus escreveu:
> Exactly, using withCredentials and actually the credentials-binding plugin.
> See > 
> https://github.com/jenkinsci/pipeline-examples/blob/d4440da021433815aedf287f0c69493a0b5b99ef/pipeline-examples/push-git-repo/pushGitRepo.Groovy#L8-L11>
>   for an example
> 
> 
> 2017-06-22 18:57 GMT+02:00 Slide > <> slide.o....@gmail.com> >> :
> > You could use the credentials steps to retrieve the username/password and 
> > keep it secure. I think it's withCredentials. I would check into that.> > 

> > On Thu, Jun 22, 2017, 08:00 Thiago Carvalho Davila <> > 
> > thiago.dav...@serpro.gov.br> > > wrote:
> > > I've thought about that, but I would need an input step to get the user 
> > > and password. And I don't know how I could get the password without 
> > > displaying it on the pipeline log.
> > > 
> > > 
> > > Em 22/06/2017 11:34:13, Slide escreveu:
> > > > You could write a shell script 
> > > > 
> > > > On Thu, Jun 22, 2017 at 4:23 AM Thiago Carvalho Davila <> > > > 
> > > > thiago.dav...@serpro.gov.br> > > > > wrote:
> > > > > Any workaround or plugin that does FTP transfer in Jenkins Pipeline?
> > > > > 
> > > > > 
> > > > > Em 21/06/2017 16:24:50, Slide escreveu:
> > > > > > I know for sure that the Publish Over family of plugins don't 
> > > > > > support pipeline, they need to have some work done to support it.
> > > > > > 
> > > > > > On Wed, Jun 21, 2017 at 11:26 AM Thiago Carvalho Davila <> > > > > 
> > > > > > > thiago.dav...@serpro.gov.br> > > > > > > wrote:
> > > > > > > Hello,
> > > > > > > 
> > > > > > > I've been using this Publish Over FTP plugin for some time (> > > 
> > > > > > > > > > > https://github.com/jenkinsci/> > > > > > > 
> > > > > > > publish-over-ftp-plugin> > > > > > > ​). And I want to know if 
> > > > > > > there is compatibility to doing that using jenkins pipeline for a 
> > > > > > > declarative pipeline or does it has some other plugin with that 
> > > > > > > feature.
> > > > > > > 
> > > > > > > Thanks in advance,
> > > > > > > 
> > > > > > > Thiago
> > > > > > > 
-
> > > > > > > 
> > > > > > > 
> > > > > > > 
"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa 
pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada 
exclusivamente a seu destinatário e pode conter informações confidenciais, 
protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e 
sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, 
por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."
> > > > > > > 
> > > > > > > 
"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a 
government company established under Brazilian law (5.615/70) -- is directed 
exclusively to its addressee and may contain confidential data, protected under 
professional secrecy rules. Its unauthorized use is illegal and may subject the 
transgressor to the law's penalties. If you're not the addressee, please send 
it back, elucidating the failure."
> > > > > > > 

> > > > > > > 

-- 
> > > > > > > 
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/> > > > > > > 
e4f66e4d15b0018c595ddddccaf64f> > > > > > > 9d27f5dc90%40serpro.gov.br> > > > > 
> > .
> > > > > > > 
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+unsubscribe@> > > > > > googlegroups.com> > > > 
> > .

> > > > > > > > > > > 
To view this discussion on the web visit > > > > > > 
https://groups.google.com/d/> > > > > > msgid/jenkinsci-users/> > > > > > 
CAPiUgVeOw8DbAqsinq_P_gYSMgg%> > > > > > 2B5RPqbHfkqisKuVqB4e8DZA%> > > > > > 
40mail.gmail.com> > > > > > .
> > > > > 
> > > > > > 
For more options, visit > > > > > > https://groups.google.com/d/> > > > > > 
optout> > > > > > .

> > > > > > > > > > 
> > > > > 
-
> > > > > 
> > > > > 
> > > > > 
"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa 
pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada 
exclusivamente a seu destinatário e pode conter informações confidenciais, 
protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e 
sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, 
por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."
> > > > > 
> > > > > 
"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a 
government company established under Brazilian law (5.615/70) -- is directed 
exclusively to its addressee and may contain confidential data, protected under 
professional secrecy rules. Its unauthorized use is illegal and may subject the 
transgressor to the law's penalties. If you're not the addressee, please send 
it back, elucidating the failure."

> > > > > > > > > > 

> > > > > 

-- 
> > > > > 
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/> > > > > 
22b466bcc43f794c912c1350be6083> > > > > 4fffd0e402%40serpro.gov.br> > > > > .
> > > > > 
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+unsubscribe@> > > > googlegroups.com> > > > .

> > > > > > > 
To view this discussion on the web visit > > > > https://groups.google.com/d/> 
> > > msgid/jenkinsci-users/> > > > CAPiUgVdMf8M8s%2BPHO4%> > > > 
3DSz1rZwwGquty5SrSkCuK%> > > > 3DSU9XkWhi2Q%40mail.gmail.com> > > > .
> > > 
> > > > 
For more options, visit > > > > https://groups.google.com/d/> > > > optout> > > 
> .

> > > 
> > > 
-
> > > 
> > > 
> > > 
"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa 
pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada 
exclusivamente a seu destinatário e pode conter informações confidenciais, 
protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e 
sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, 
por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."
> > > 
> > > 
"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a 
government company established under Brazilian law (5.615/70) -- is directed 
exclusively to its addressee and may contain confidential data, protected under 
professional secrecy rules. Its unauthorized use is illegal and may subject the 
transgressor to the law's penalties. If you're not the addressee, please send 
it back, elucidating the failure."
> > > 

> > > 

-- 
> > > 
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/> > > 61296811a2859daa57a81d0aea431f> > > 
7eae8c9e85%40serpro.gov.br> > > .
> > > 
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+unsubscribe@> > googlegroups.com> > .

> > > > 
To view this discussion on the web visit > > https://groups.google.com/d/> > 
msgid/jenkinsci-users/> > CAPiUgVcAL7GUceGDpH1S7AN628KpJ> > 
nfaFfhC14e5Sc%2BYsDmWzQ%> > 40mail.gmail.com> > .
> > 
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/CANWgJS7Cq0e7esoCwmJgQieGwK%2B4HTPXJEnjX3850xUOVG%3D%2BUA%40mail.gmail.com>
 .
> 
For more options, visit > https://groups.google.com/d/optout> .



-


"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa 
pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada 
exclusivamente a seu destinatário e pode conter informações confidenciais, 
protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e 
sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, 
por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."

"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a 
government company established under Brazilian law (5.615/70) -- is directed 
exclusively to its addressee and may contain confidential data, protected under 
professional secrecy rules. Its unauthorized use is illegal and may subject the 
transgressor to the law's penalties. If you're not the addressee, please send 
it back, elucidating the failure."

-- 
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/34503f303ec0ed2ac9736281280cbf7f87563b74%40serpro.gov.br.
For more options, visit https://groups.google.com/d/optout.

Reply via email to