Are you trying to ste up database connections for DB2 in Jenkins or in a build 
that is executed by Jenkins?

Jave you set the CLASSPATH for Jenkins or in a build that is executed by 
Jenkins?

How did you set the CLASSPATH? If you want to set it in a build, have you 
verified it is there? How?

-- Sami

ifxtechie <[email protected]> kirjoitti 14.5.2013 kello 18.42:

> Hi,
> I am trying to setup database connections for DB2 in Jenkins; But, I am 
> getting the error as below:
> class not found:com.ibm.db2.jcc.db2driver
> I have included the environment variable to include the JDBC driver in the 
> CLASSPATH .I know this does not make sense to expect the database connection 
> to pick up this variable.
> I have tested this in a standalone program and works fine.
> I have invoked the similar java program as a job in Jenkins and it works.
> But, when tried to setup the Database Connections, it fails with the above 
> error.
> Any suggestion/help is much appreciated.
> Thanks
> Partha
> 
> -- 
> 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