Permission issue while building Docker image with Jenkins Pipeline
While building the image in Jenkins gradle build fails with the error ERROR: JAVA_HOME is set to an invalid directory: /opt/java/openjdk Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Following is the…