Thanks Jun, I will update the INFRA ticket. On Tue, Sep 23, 2014 at 11:30 PM, Jun Rao <jun...@gmail.com> wrote:
> Joe, > > I added the gradle step in kafka-trunk job. However, it doesn't seem that > gradle is installed there. > > Thanks, > > Jun > > On Tue, Sep 23, 2014 at 6:33 PM, Jun Rao <jun...@gmail.com> wrote: > > > Joe, > > > > You can configure the kafka-trunk job at > > https://builds.apache.org/job/Kafka-trunk/. You may need to ask infra to > > grant you the permission. One thing that I am not sure is whether > > those ubuntu (where kafka-trunk job runs) jenkins machines have gradle > > installed. You can probably follow up on that infra ticket. > > > > Thanks, > > > > Jun > > > > On Tue, Sep 23, 2014 at 10:21 AM, Joe Stein <joe.st...@stealth.ly> > wrote: > > > >> I created an infrastructure ticket > >> https://issues.apache.org/jira/browse/INFRA-8395 > >> > >> On Tue, Sep 23, 2014 at 12:12 PM, Joe Stein <joe.st...@stealth.ly> > wrote: > >> > >> > Hey, so it looks like the gradlew changes I just removed the jar is > >> going > >> > to require something to be done on the jenkins side since gradle has > to > >> be > >> > installed and run gradle first to download the wrapper... then > >> everything > >> > else works. > >> > > >> > I haven't updated jenkins @ apache not sure (probably have permission) > >> how > >> > to-do that? > >> > > >> > Anyone else familiar with this and can either fix or point me in the > >> right > >> > direction please. > >> > > >> > This is what folks will see if they don't do the two steps I added to > >> the > >> > README (1) install gradle 2) gradle //default task is to download > >> wrapper > >> > to bootstrap) > >> > > >> > [joe.stein] KAFKA-1490 remove gradlew initial setup output from source > >> > distribution patch by Ivan Lyutov reviewed by Joe Stein > >> > > >> > ------------------------------------------ > >> > Started by an SCM change > >> > Building remotely on ubuntu-1 (Ubuntu ubuntu) in workspace < > >> > https://builds.apache.org/job/Kafka-trunk/ws/> > >> > > git rev-parse --is-inside-work-tree > >> > Fetching changes from the remote Git repository > >> > > git config remote.origin.url > >> > https://git-wip-us.apache.org/repos/asf/kafka.git > >> > Fetching upstream changes from > >> > https://git-wip-us.apache.org/repos/asf/kafka.git > >> > > git --version > >> > > git fetch --tags --progress > >> > https://git-wip-us.apache.org/repos/asf/kafka.git > >> > +refs/heads/*:refs/remotes/origin/* > >> > > git rev-parse origin/trunk^{commit} > >> > Checking out Revision d2d1ef357b3b07e83f880ee2a6e02fb3c18ae011 > >> > (origin/trunk) > >> > > git config core.sparsecheckout > >> > > git checkout -f d2d1ef357b3b07e83f880ee2a6e02fb3c18ae011 > >> > > git rev-list 6d7057566f0c3a872f625957aa086b993e76071f > >> > [Kafka-trunk] $ /bin/bash -xe /tmp/hudson229233895233879711.sh > >> > + ./gradlew -PscalaVersion=2.10.1 test > >> > Exception in thread "main" java.lang.NoClassDefFoundError: > >> > org/gradle/wrapper/GradleWrapperMain > >> > Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper. > >> > GradleWrapperMain > >> > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > >> > at java.security.AccessController.doPrivileged(Native Method) > >> > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > >> > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > >> > Could not find the main class: org.gradle.wrapper.GradleWrapperMain. > >> > Program will exit. > >> > Build step 'Execute shell' marked build as failure > >> > > >> > /******************************************* > >> > Joe Stein > >> > Founder, Principal Consultant > >> > Big Data Open Source Security LLC > >> > http://www.stealth.ly > >> > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> > >> > ********************************************/ > >> > > >> > > > > >