Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is it possible to have Build Forge call a putty command?

Hi, I am brand new to build forge and starting to setup our build script.  We are using build forge on a windows build machine then once the build is complete, we want to deliver our files to a unix box.  I'm able to manually run the pscp command from a command line (pscp -r -pw <password> "<Workspace path to files>" <user>@<unix server>:/<unix directory>) but when I enter the command into a build forge step, it appears to just hang and then time out.  Here's the command I'm trying to run in build forge:

pscp -r -pw <password> . <user>@<unix server>:/<unix directory>

Any suggestions as to what I am doing wrong?

Thank you!

0 votes



One answer

Permanent link
 What you are describing should be possible.  I would throw a "-batch" onto the command you already have and see if that allows the step to fail, then troubleshoot from there.  My hunch is that it is hanging because it is waiting for a prompt from the user.

~Spencer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Aug 15 '12, 3:40 p.m.

Question was seen: 5,228 times

Last updated: Aug 16 '12, 8:14 a.m.

Confirmation Cancel Confirm