-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Jenkins plugin with external Database (postgres) #6551
Comments
We're using a properties file containing the database information which seem to work. The properties file is served by jenkins as a credential, and we call DependencyCheck via the plugin like:
However, we observe that dependencycheck seem to download NVD data from the internet anyway. @jeremylong Do we need to add You can generate a debug log by adding |
If you are keeping the external database up-to-date some other way then yes - using |
See bullet 3 on http://jeremylong.github.io/DependencyCheck/data/database.html
For the Jenkins plugin setup I'm quite confident that the postgresql driver is not in the classpath when it invokes the CLI. It's not part of the CLI itself so you need to publish that somewhere on your Jenkins system and ensure it gets specified by the additional arguments. Under the hood the Jenkins plugin uses the CLI, so the CLI configuration page details the required |
Hi,
I am using the DependencyCheck Jenkins plugin and like to connect it to an external Postgres database.
While this works perfectly fine with the CLI tool via Docker, I have trouble setting it up with the correct driver using the Jenkins plugin.
Since this is not documented well in the docs, I hope to find some information here on how to connect the plugin with my external database.
--dbDriverName org.postgresql.Driver
part of the plugin by default or do I need to provide the driver externally?My only clue right now is this:
The step is called with the following arguments:
Thanks in advance.
The text was updated successfully, but these errors were encountered: