Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How should permissions be set for our Bamboo server to be able to deploy to its target?

We have always historically been able to deploy to our S:\Shortcuts folder but since we upgraded to the latest version of Bamboo (server based), we have been unable to deploy to the shortcut directory. I know the bamboobuild.xml is coded correctly as if I point it to a location on another drive, this time on our development server, the Shortcuts get deployed correctly. We check the directory exists first and despite the fact it is physically there 

    <available file="${env.bamboo_shortcut_dir}" />
        <copy todir="${env.bamboo_shortcut_dir}"> 
             <fileset dir="${application.files.base.dir}\@{dir}\client" casesensitive="no">
                <include name="CreditSolve -*" />
                <include name="CopyData -*" />
                <include name="PROFILER*" />
       <echo message="** WARNING - SHORTCUTS WERE NOT DEPLOYED **"          />

I continually get informed that the directory is not there ( I have tried adding the type 'dir' as well). This is incredibly frustrating so thought I would ask the question here.

Any help gratefully received.


1 answer

0 votes

Hi @Dave Grandon,

What happens if you navigate to the build/deployment folder, where your bamboobuild.xml script is located and manually run the ant script? (I suppose you are using ANT, right?)
(i) You should see the command you need to run at the build/deployment logs

If it succeeds, please try:

  1. Disable the ANT task
  2. Configure a script task before it with the command you were running in the terminal
  3. try another build

If it runs properly we might need to investigate the Bamboo task to discover any possible bug on it.

If it fails, you are probably hitting a permission issue and then I would suggest you to review the user running Bamboo, comparing it with the one running on terminal.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

167 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you