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
|
Be the first one to answer this question!
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.
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,
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?