I'm going to use dependency-check on Jenkins to check a .NET build.

I have added a Dependency-Check installation to Jenkins' Global Tool 
Configuration.
I'm using an install from dl.bintray.com.

In my Jenkins Pipeline, I have:

environment {
    DEPENDENCY_CHECK = tool name: 'Dependency Check', type: 
'org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstallation'
}

and

stage('Dependency Check') {
    steps {
        println 'Dependency Check'
        println DEPENDENCY_CHECK.toString()
    }
}

(Just for now)

Can confirm:
* In the build log I see
Unpacking 
https://dl.bintray.com/jeremy-long/owasp/dependency-check-6.1.1-release.zip to 
C:\Jenkins\tools\org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstallation\Dependency_Check
 
on ********
* In the build log I see  
*14:53:23* Dependency Check 
*14:53:23*
 
C:\Jenkins\tools\org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstallation\Dependency_Check
* On the build node, a new directory 
C:\Jenkins\tools\org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstallation\Dependency_Check
 contains 
the correct files.


Now.

I'm using a local database in MySQL, so I need to put an additional file 
mysql-connector-java-8.0.22.jar inside a plugins folder in the installation 
folder.
How do I do that in the Jenkins Global Tool Configuration? If I add a 
second installer to copy the mysql jar, then it only installs that one 
single jar file.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/39b2e0ad-6d04-415a-a310-4e1865ac0eabn%40googlegroups.com.

Reply via email to