Shared/Network drive not accessible through bamboo test execution
Bamboo Server (Windows)
Selenium Nodes (Windows)
Java, Cucumber and JUnit
We have a requirement to access files located at some shared location while executing tests from Bamboo Plans.
All the corresponding servers have access to the shared. Manually verified.
File file = new File("\\\\SHARED_DRIVE\\Folder\\Automation\\download");
Scenario 1 : Executing test through IDE (locally)
Scenario 2 : Executing test on Agent's VM
Scenario 3 : Executing test through Bamboo Plan
As stated above, results were false while accessing shared drive when we were executing tests though Bamboo plan.
As stated in Scenario 2, we have manually logged in to the Agent's VM and executed maven goal and checked the logs
What could be the possible issue here?
The first thing to check would be the user/privileges the Bamboo plan is running under. It would make sense if the other tests worked based on the privileges/user you used.
Another thing I would try is the IP address instead of the FQDN. I have seen this work and have heard from other Support Engineers this has worked.
Let me know and we'll go from there.
i have tried using IP as well but no luck.
also checked the user priveleges. The same user checks out the repo to a bamboo agent but unable to access the share drive.
Bamboo agent where the code is checked out can access the share drive when i manually login with the same user and test was executed as expected. But when the bamboo server triggers the test, java’s isDirectory() returns false for the share drive path.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs