multithreading - Is SCP Ant task thread safe -


we have multiple servers need files out to. we're using ant based build system , save time we're trying deploy them each of boxes in separate thread:

<for param="file" parallel="true" threadcount="10"> ... <sequential> <sshexec host="${host}" trust="true" username="${username}" password="${password}" command="do setup;"/> <scp todir="${username}:${password}@${host}:~/" trust="true" > <fileset dir="${releasedir}/.."> <include name="releases/**" /> </fileset> </scp>
... </sequential> </for>

this snippet fails intermittently boxes works fine using single thread - leads me believe doesn't handle multithreading well.

1.has come across similar issue? 2.can recommend alternatives?


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -