Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshreddy94 authored Sep 30, 2020
1 parent fc8fe9f commit 48782cb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ pipeline {
}
}

stage ('Source Composition Analysis') {
steps {
sh 'rm owasp* || true'
sh 'wget "https://raw.githubusercontent.com/adarshreddy94/webapp/master/owasp-dependency-check.sh" '
sh 'chmod +x owasp-dependency-check.sh'
sh 'bash owasp-dependency-check.sh'
sh 'cat /var/lib/jenkins/workspace/devsecops-cicd/odc-reports/dependency-check-report.xml'

}
}

stage ('SAST') {
steps {
withSonarQubeEnv('sonar') {
Expand Down

0 comments on commit 48782cb

Please sign in to comment.