I am trying to add Dependency Check into my JenkinsFile without success.
Plugins Installation and configuration done.
Global Tool Configuration
Name : Vulnerability5
Install automatically (checked)
Version : dependency-check 5.2.4  
pipeline {
   agent any
    tools {
       nodejs "node8"
       dependency-check "vulnerability5"
    }
   stages {
       stage('Install Deps') {
        steps {
            //Install dependecies
            sh 'yarn install'
        }
      }
      stage('Dependency Check') {
        steps {
            // Run OWASP Dependency Check
            dependencyCheck additionalArguments: '-f "HTML, XML,CSV" -s .'
        }
      }
   }
}
adding the dependency check in tools is breaking the pipeline file. Any Idea of what I am missing?