Caused by: org.gradle.api.GradleException: Could not create ZIP '/jenkins/repository/workspace/profile/build/libs/../profile.jar'.

Caused by: org.gradle.api.GradleException: Could not create ZIP ‘/jenkins/repository/workspace/profile/build/libs/…/profile.jar’.

Project

  • common << I build under this directory

  • profile

build.gradle(in common)

dependencies {

compile project(’:…/profile’)

settings.gradle(in common)

include ‘…/profile’ It works fine on windows environment. But it does not work on linux environment even using root account

Please don’t double-post here and on Stack Overflow. I already answered your question there: http://stackoverflow.com/questions/16786818/gradleexception-could-not-create-zip