I try to configure the new doctoolchain wrapper to run within Bamboo. What I've done so far
- Create a new project locally and downloading the wrapper
dtcw
anddtcw.bat
(version 2.0.3) - Generate an empty arc42 template
./dtcw downloadTemplate
- Create a new build configration in Bamboo using the following configuration
export http_proxy=http://${bamboo.proxy_host}:${bamboo.proxy_port}
export https_proxy=http://${bamboo.proxy_host}:${bamboo.proxy_port}
export no_proxy=localhost,127.0.0.1
echo "Set executable flag for dtcw"
chmod +x dtcw
echo "Generate HTML documentation"
./dtcw --debug generateHTML
But unfortunately I receive the following error:
FAILURE: Build failed with an exception.
- What went wrong: Gradle could not start your build.
Could not create service of type CrossBuildFileHashCache using BuildSessionServices.createCrossBuildFileHashCache(). Failed to create parent directory '/project/.gradle' when creating directory '/project/.gradle/6.7.1/fileHashes'
The docker image rdmueller/doctoolchain
is downloaded successfully and the gradle deamon seems to be started as well
Successfully started process 'Gradle build daemon'
My question is now what triggers the error? Is a bug in doctoolchain or is it a wrong configuration? Btw, locally this configuration is running fine but I don't need to use a proxy like it is required within bamboo.