I am building C++ gradle multiprojects. This is my config:
image: gcc:6.1
pipelines:
default:
- step:
caches:
- gradle
script:
- ./gradlew clean check
I am getting an error:
<span>Please set the JAVA_HOME variable in your environment to match the</span><span>location of your Java installation.</span><span>ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.</span>
JAVA_HOME isn't set on my build system either.
Is there a way to do this ?
Regards
Peter