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
Highlighted

Bamboo task powershell fails to find object path Edited

I want to upload files from network location contains my source code. I have written the powershell script to copy files to Bamboo working directory. But it is not able to read the files form network location. Telling object path does not exist.

 

Same script is working in powershell editor.

2 comments

Jeyanthan I Atlassian Team Mar 09, 2018

Hi Jagdish,

This looks like an environment issue to me. We do not know how you have defined the copy path in your script. I suggest you isolate the problem by simplifying the script and see if that helps.

As you say that the script is working in the Powershell editor, check if the user as which Bamboo is running has the right set of environment variables and permission to access the network drive.

Thank you for comment Jeyanthan, you are right that is issue of network accessibility.  

Jeyanthan I Atlassian Team Mar 12, 2018

Glad it helped, Jagdish. As you found that answer helpful, please don't forget to mark the answer as Accepted. :)

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

333 views 0 6
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