Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,039
Community Members
 
Community Events
168
Community Groups

Mounting windows share on linux bamboo agent

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

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
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events