fixed jenkins file and updated readme
Locusworks Team/portal-webapp/pipeline/head This commit looks good

This commit is contained in:
iparenteau committed 2026-09-04 15:39:29 -05:00
1 parent a6df549919
commit f0716b0073
3 files changed
+159 -183

No files matched your search

Vendored
+5 -6
View File
@@ -41,12 +41,11 @@ pipeline {
stage('Prepare OWASP cache') {
steps {
withCredentials([string(credentialsId: 'nvd-api-key', variable: 'NVD_API_KEY')]) {
lock(resource: 'owasp-nvd-cache') {
withMaven(maven: 'maven-3.9.16', globalMavenSettingsConfig: 'locusworks-settings') {
sh 'mkdir -p "$HOME/.cache/dependency-check"'
sh 'mvn -B org.owasp:dependency-check-maven:13.0.0:update-only -DdataDirectory="$HOME/.cache/dependency-check"'
}
lock(resource: 'owasp-nvd-cache') {
withMaven(maven: 'maven-3.9.16', globalMavenSettingsConfig: 'locusworks-settings') {
// Dependency-Check uses nvdApiKey from pom.xml.
sh 'mkdir -p "$HOME/.cache/dependency-check"'
sh 'mvn -B org.owasp:dependency-check-maven:13.0.0:update-only -DdataDirectory="$HOME/.cache/dependency-check"'
}
}
}