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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Why does my working directory on the build engine get cleared when I don't tell it to clear?

I am trying to test uploading a .nupkg file to artifactory from Bamboo.  The part of the Bamboo job that builds the .nupkg is not working.

I want to build the .nupkg file manually on the build engine server, then run the Bamboo plan to do the deploy to artifactory. However, when I try to run the job, the working directory clears itself before it does any of the job steps in Bamboo.

I've checked all the settings I can think of, but I can't find anything that clears the working directory that is not disabled.

Any suggestions?

1 answer

1 vote
Jeyanthan I Atlassian Team Jan 23, 2020

Hi Brent,

I'm not sure how you have configured your plan. Didn't your build log hint you with something? Usually, a cleanup is explicitly recorded when it happens.

As you said that the build working directory is getting cleared, could it be that you have enabled Clean working directory after each build option in your job under 'Other' tab? This option removes the source directory after each build.

It is also possible that you have a source code checkout task in your job where Force Clean Build option is enabled. This option will also remove the source directory and checks out the source again prior to each build.

If none of these are enabled, check if you have any script task that is configured to delete this directory manually.


Suggest an answer

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

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

490 views 5 7
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