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

Mounting windows share on linux bamboo agent

Swatilekha Paul October 22, 2019

I want to access a windows shared drive from a linux bamboo agent to pick up specific files from the share. Any help with this will be appreciated.

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 23, 2019

Hello @Swatilekha Paul

You will need to use Linux tools available in the machine running the Bamboo remote agent to mount the remote folders. You can use a Bamboo script task to run the needed commands.

Suggestion:

  1. Check the best options you have (SMB, Cifs, NFS, etc) for the Linux flavor you are using.
    e.g. How to access windows file server from linux (Cfis)
  2. Run some mounting tests on a terminal to make sure it is working as you expect.
  3. Create a script task and add the commands you tested.
    If you need the absolute path of the working directory folder you can use:
    ${bamboo.build.working.directory}
  4. Copy the files you need.


I hope that is what you need.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events