Cannot fetch branch '(unresolved) HashAndSource{refName=[null], branch=[release/February], hash=[commitid]}' from 'bitbucket url' to source directory 'bambooagentlinuxpath/bamboo_home/xml-data/build-dir/_git-repositories-cache/'. java.lang.RuntimeException: java.nio.file.FileSystemException: /tmp/bamboo-ssh.: Operation not permitted
Bamboo agents are running in Linux machines .This error occurs specifically to a particular agent
Hi @sangeetha
I would check a few things first:
1 - Will require installing git and adding it as a capability.
2 - Will involve editing the agent configuration so it has a different temp directory that can run scripts.
For this you need:
wrapper.java.additional.3=-Djava.io.tmpdir=/var/tmp⚠️ In case the number 3 is used you will need to change it to a different number available.
3 - Just a removing the folder caches folder will force the agent to create a new one
I hope that helps you to move forward.
That is great! I'm glad to help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.