Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can windows agent use a .exe located on a drive different from that of the working drive?

Landon Cooper May 7, 2019

I am doing some integration with a reporting tool and a windows bamboo agent. The working directory on the windows agent is on the C: drive.  The installed software I want to integrate with is located on the D: drive.  Is there some way I can point the agents sub directory to a different disk on the computer?

2 answers

1 accepted

0 votes
Answer accepted
Landon Cooper May 10, 2019

So thank you James for the response.  The Capability will work and I have also thought I may try to just write a script that will change to the correct disk and execute the CI commands.

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 8, 2019

Hi Landon,

Your question appears different from the details you provided.  I'm going to try and answer the question and please let me know if I have mis-understood what you are trying to accomplish.

If you are trying to call/execute a *.exe file that is installed on an agent machine have you tried adding it as a "Server capabilities" for local agents, or to the "Capabilities" tab on a remote agent?

AgentCapabilities.JPG

From there you should be able to add a "Command" task in your Build Plan or Deployment Project that can call that executable with the parameters that you wish to execute.

CommandTask.JPG

I hope that helps answer your question!

-James

Landon Cooper May 8, 2019

@Jimmy Seddon  thanks for the prompt response. This was a different approach than I was thinking.  Let me see if I can work this out.

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 10, 2019

Hey Landon,

I'm glad that was able to get things working for you!

-James

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events