Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 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