Assuming you installed this plugin: https://wiki.jenkins-ci.org/display/JENKINS/leiningen+plugin you need to configure it.
Make sure that lein is installed in a place that Jenkins can get to. You should probably log into the box, su to jenkins, and run the lein install procedure. Then, go to the Jenkins configuration page (/configure) and scroll down to the "Leiningen Builder" section. Enter the full path to the lein jar (very possibly /var/lib/jenkins/.lein/self-installs/leiningen-2.3.3-standalone.jar). You should be good to go. jason On Friday, November 1, 2013 1:15:40 PM UTC-7, Simon Brooke wrote: > > I've installed Jenkins 1.537 on Debian 6, using Tomcat 6 as a servlet > container; brief note about the installation here: > http://blog.journeyman.cc/2013/11/getting-jenkins-ci-running-on-debian-6.html > Now, > I'm trying to get it to run Leiningen and currently it isn't working. What > I'm getting is as follows: > > Started by user Simon Brooke <https://www.journeyman.cc/jenkins/user/simon> > Building in workspace /var/local/jenkins/workspace/et-clj > Cloning the remote Git repository > Cloning repository file:///srv/git/et-clj > git --version > git version 1.7.2.5 > Checking out Revision 958f8466a11bef34143e43ba554b0d897942c2de (origin/master) > First time build. Skipping changelog. > FATAL: leiningen failed: leiningen jar path is > emptyjava.lang.IllegalArgumentException > <http://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalArgumentException>: > leiningen jar path is empty > at > org.spootnik.LeiningenBuilder.getLeinCommand(LeiningenBuilder.java:111) > <http://stacktrace.jenkins-ci.org/search/?query=org.spootnik.LeiningenBuilder.getLeinCommand&entity=method> > at org.spootnik.LeiningenBuilder.perform(LeiningenBuilder.java:80) > <http://stacktrace.jenkins-ci.org/search/?query=org.spootnik.LeiningenBuilder.perform&entity=method> > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781) > > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method> > at hudson.model.Build$BuildExecution.build(Build.java:199) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.build&entity=method> > at hudson.model.Build$BuildExecution.doRun(Build.java:160) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.doRun&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> > at hudson.model.Run.execute(Run.java:1665) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method> > at hudson.model.ResourceController.execute(ResourceController.java:88) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> > at hudson.model.Executor.run(Executor.java:230) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> > Build step 'Build project using leiningen' changed build result to FAILURE > Build step 'Build project using leiningen' marked build as failure > Finished: FAILURE > > > Can anyone suggest what I need to be looking at? > > > Many thanks > > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.