Inject environment variables using jenkins ? Or only for *this* case, u can
add the "set CLASSPATH=PATH_GOES_HERE" line in your bat file before line
that executes the ant file.


On Fri, Oct 18, 2013 at 11:13 AM, puyo puy <[email protected]> wrote:

> Hi,
>
> 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?
>
> Thanks in advance
>
>  --
> 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.
>

-- 
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