File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,23 +14,22 @@ pipeline {
1414 }
1515 }
1616 stage(' Security analysis' ) {
17- agent any
1817 steps{
19- sh " docker run --rm --volume \$ (pwd) secfigo/bandit:latest"
18+ sh " docker run --rm --volume \"\ $ (pwd)\" secfigo/bandit:latest"
2019 }
2120 }
2221 stage (" Dependency Check with Python Safety" ){
2322 steps{
2423 catchError {
25- sh " docker run --rm --volume \$ (pwd) pyupio/safety:latest safety check"
26- sh " docker run --rm --volume \$ (pwd) pyupio/safety:latest safety check --json > report.json"
24+ sh " docker run --rm --volume \"\ $ (pwd)\" pyupio/safety:latest safety check"
25+ sh " docker run --rm --volume \"\ $ (pwd)\" pyupio/safety:latest safety check --json > report.json"
2726 }
2827 echo currentBuild. result
2928 }
3029 }
3130 stage (" Static Analysis with python-taint" ){
3231 steps{
33- sh " docker run --rm --volume \$ (pwd) vickyrajagopal/python-taint-docker pyt ."
32+ sh " docker run --rm --volume \"\ $ (pwd)\" vickyrajagopal/python-taint-docker pyt ."
3433 }
3534 }
3635 stage(' continuous integration' ) { // Compile and do unit testing
You can’t perform that action at this time.
0 commit comments