Am 18.10.2013 07:43, schrieb puyo puy:

> I have an ant script running successfully using bat file. But when I
> run that script on Jenkins it failed with error
> "build_preprocess.xml:166: java.lang.NullPointerException".  After
> many hours of research, I believe that is related to the CLASSPATH
> environment variable did not pass to Jenkins.  Just wonder is there a
> way I can pass CLASSPATH to Jenkins?

Put the classpath where it belongs: into the bat file. That script is
(hopefully) under version control together with anything else, so that
changes to the classpath don't require a change of the Jenkins job
configuration.

HTH...

    Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Infrastructure
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 1596666 1149
*Email*: [email protected] <mailto:[email protected]>
*Skype*: dirk.heinrichs.recommind
www.recommind.com <http://www.recommind.com>


http://www.recommind.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to