Skip to content

Instantly share code, notes, and snippets.

@artem-smotrakov
Created April 28, 2018 20:25
Show Gist options
  • Save artem-smotrakov/31f5c1911041268797cc6d7a90be5e93 to your computer and use it in GitHub Desktop.
Save artem-smotrakov/31f5c1911041268797cc6d7a90be5e93 to your computer and use it in GitHub Desktop.
Publishing OWASP Dependency Check report in Jenkins. See details in https://blog.gypsyengineer.com/en/security/integrating-owasp-dependency-check.html
pipeline {
agent any
stages {
stage('Build') {
steps {
sh './gradlew build'
}
}
stage('OWASP Dependency Check') {
steps {
sh './gradlew dependencyCheckAnalyze'
}
}
}
post {
always {
dependencyCheckPublisher pattern: 'build/reports/dependency-check-report.xml'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment