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