Running FTP through Jenkins on windows server 2012 -
i have installed jenkins in our server successfully, , can run configure , run jobs.
i want run windows batch command on jenkins job, should download files through ftp. had issues ftp able connect server, couldn't download files or list them, ftp unable establish data channel because of server's firewall configuration.
i able fix issue, opening ports ftp executable, , able download files command line.
now want make same operation i'm running on command line, in jenkins job.
the problem once try make wget or ls, job stalls , nothing happens. this behavior similar experienced in command line before opening ports, can't tell if same issue jenkins not giving feedback (on command line see line "150 file status okay; open data connection.", jenkin's console displaying commands sent ftp, not ftp response).
i have tried applying same firewall configuration 1 applied ftp executable, jenkins executable , service. no go.
i changed user launches jenkins service, launched administrator account. it's not working.
anyone has idea of whats going on?
instead of using "execute windows batch command", executed ftp command through "execute shell", , process completes correctly.
Comments
Post a Comment