I am setting up the DB connections so that I can use them in my jobs. I am setting the CLASSPATH by setting up the environment variable in Jenkins Environment configuration. It is not BUILD that the build I am using or setting.
Thanks Partha On Tue, May 14, 2013 at 4:58 PM, Sami Tikka <[email protected]> wrote: > 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 a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/esq3QHSdjyg/unsubscribe?hl=en > . > To unsubscribe from this group and all its topics, 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.
