Run in Docker Doesn't have bamboo/temp/ ScriptBuildTask sh

Matt Simon September 7, 2022

I have a job running in an isolated environment docker that dies immediately when it trys to execute any script.

`/tmp/runInDocker...sh: line 4: /var/atlassian/application-data/bamboo/temp/...ScriptBuildTask...sh: No such file or directory`

From other questions the issue is normally that the temp folder isn't mounted, but I'm still not able to run the task even though it has the default values

|Host directory             |Container directory        |
|${bamboo.tmp.directory} |${bamboo.tmp.directory} |
|${bamboo.working.directory}|${bamboo.working.directory}|

 

1 answer

0 votes
Will February 8, 2023

Hi, Matt,

You can add a script task to print bamboo directory variables in non-docker agent

  • ${bamboo.tmp.directory}
  • ${bamboo.working.directory}

Maybe your host directory is different with the container directory.

Please check these value must be correct.

Especially to check ${bamboo.tmp.directory} value in your host. Make sure it is correct. Good luck.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events