Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshreddy94 authored Aug 25, 2020
1 parent 1488113 commit fbf5aba
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@ pipeline {
sh 'cat trufflehog'
}
}


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/odc-reports/reports/dependency-check-report.xml'
}
}

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

0 comments on commit fbf5aba

Please sign in to comment.