Topic "WinSCP 5.x hangs when running batch script from Jenkins."

Author Message
aduric
[View user's profile]

Joined: 2012-10-22
Posts: 1
Location: aduric
Hi,

I have a setup where I am running a WinSCP script from Jenkins deployment server. Basically I point Jenkins to a batch file that runs commands with the /command flag:

call "C:\Program Files (x86)\WinSCP4\WinSCP.exe" /log="C:\Program Files (x86)\WinSCP4\log-%1.txt" /command "option batch abort" "option confirm off" "open scp://user@host.com" "synchronize remote blah blah blah" "close" "exit"

This worked well with WinSCP 4.3.8 but when I updated to 5.1, Jenkins just hangs. I can run the script just fine logged in as the jenkins user on the actual server but cannot run it from the jenkins web interface. The session data is store in an .ini file and I did everything I was supposed to do according to the docs to run scripts. 4.3.8 works after all.

Has anyone else encountered something similar? Perhaps from a Hudson build machine?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Please attach a full log file showing the problem.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License