Fork me on GitHub
#leiningen
<
2015-10-14
>
zarkone15:10:05

Hi all! Did anyone use leiningen-jenkins plugin? Always get "Could find or load main class clojure.main" error, a bit wierd...

zarkone15:10:21

sorry if it's wrong channel for such things...

rickmoynihan17:10:23

@zarkone: I've used it - it works for me... I think you need to provide a path to lein/the lein jar in the jenkins config page... This said it doesn't do much to make it worth using... You can just install lein on the host and shell out to it... not sure of any advantages of using the plugin... it might not fire up a new JVM so might be quicker... but I suspect it does that too...

rickmoynihan17:10:28

ok just looked at the source... the plugin also fires up a JVM - so tbh you're probably better just using a shell build step

rickmoynihan17:10:00

the only difference is having to put lein uberjar in the text input box instead of uberjar

zarkone18:10:35

@rickmoynihan thanks a lot for investigation! Agreed, it is quite easier to just install lein