rundeck-plugins / kubernetes

51 stars 59 forks source link

The gradle build failed #39

Closed RanganathNangineni closed 4 years ago

RanganathNangineni commented 5 years ago

Hi

I have installed the kubernetes SDK and trying to create the zip file for kubernetes plugin using gradle build but it is failing.

gradle build

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 1s

RanganathNangineni commented 5 years ago

My grdle version ]# gradle -v


Gradle 4.7

Build time: 2018-04-18 09:09:12 UTC Revision: b9a962bf70638332300e7f810689cb2febbd4a6c

Groovy: 2.4.12 Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017 JVM: 1.8.0_212 (Oracle Corporation 25.212-b04) OS: Linux 4.1.12-124.27.1.el7uek.x86_64 amd64

tholok97 commented 4 years ago

Hi, I had issues with Gradle as well. You could try running it via a Docker container. This way you at least avoid any issues with your Gradle installation:

docker run -v "$PWD":/code gradle:4.7 gradle --project-dir /code build

(Realize this is an old issue, but just in case anyone else is fighting Gradle)

ltamaster commented 4 years ago

did you try with gradlew?