Folders within build are not writeable

Hi,

 

Just started with Bamboo. We have it running on Windows 7, for a Yii2 (PHP) Application. Yii2 comes with Codeception, it's really nice and easy to use.

 

I have a script that runs as a task that just kicks off codeception:

${bamboo.php} ${bamboo.composer} exec codecept run unit models/HelperTest.php --verbose

This keeps failing the build and coming back with error code 1.

So I ran on the Windows 7 machine directly and it came back with:

[Codeception\Exception\ConfigurationException]
Path for output is not writable. Please, set appropriate access mode for output path.

When I check in the build, I see that all the folders have this property set.

bamboo.png

All the folders have this weird gray check mark, not a full black one. I've tried to manually remove read-only and it asks for administrato priveledges so I said yes. But nothing happens, the folder still has this mark. 

 

I'm not really sure what the problem is here and how to fix it?

 

1 answer

Hi Jonathon! How are you doing?

What is your version control system? I have seen this behavior using ClearCase, because it downloads files and marks them as read only. In order to write to files, I had to use operating system commands (e.g. attrib or chmod).

Hope this helps!

Cristiano

Thanks Cristiano

 

In my case I got bamboo to create a new folder as a task in the build. It then stored the output of my clover coverage and I updated my scripts to write to that new folder. Works now though!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

499 views 0 9
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you