Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Linux cp -f command is not getting executed in RTC Build Definition

 Build is happening in Linux server. We usually request build from Windows RTC Eclipse client 


and it invokes the commands on Linux Server internally. The  ls -l  command is working fine 

but the command cp -f is not getting executed. Please provide solution if you have already 

faced this issue.


in RTC Eclipse Client 
Builds-->Test_Build-->Build Definition-->"CommandLine" Tab--> "Command" field -- here in 

this field if we give cp -f command it is not invoking. Please help

0 votes

Comments

How can you tell it is not invoked? What if it has been invoked but failed?

 Thanks Donald, I was confused it is actually getting failed, the execution stops at initial stage for CP command but for ls -l command it takes reasonable time to run the build and that too successful. Please help

Have you checked permissions? Does the build user have the appropriate rights to copy the file to the target directory?

Did you try the operation outside of the build?

 Hi Allan,

 
on the linux machine if we login and manually execute this command it is working fine but when we are executing the command from Eclipse clinet(Winodws RTC build) it is not happening. If it is a permission issue on the linux machine, manual execution also should not happen right? bit confused. Please help

The cp -f command runs in the context of the machine user who runs the JBE process. Did you try to manually execute the command as the machine user who owns the JBE process?


Be the first one to answer this question!

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

Question asked: Jun 16 '17, 5:14 a.m.

Question was seen: 1,782 times

Last updated: Jun 19 '17, 6:33 a.m.

Confirmation Cancel Confirm