Skip to content

Commit

Permalink
Update Jenkinsfile1
Browse files Browse the repository at this point in the history
  • Loading branch information
effortlessdevsec authored Jun 7, 2024
1 parent 4ae406b commit 4710389
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions Jenkinsfile1
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,20 @@ pipeline {
post {
always{
sh 'echo $(pwd);ls'
sh "curl --location 'http://localhost:8080/api/v2/reimport-scan/' \
sh 'curl --location "http://localhost:8080/api/v2/reimport-scan/" \
--header "Authorization: Token ${DEFECT_DOJO}" \
--form 'engagement_name="SAST"' \
--form 'verified="true"' \
--form 'active="true"' \
--form 'lead="1"' \
--form 'tags="test"' \
--form 'scan_type="Snyk Scan"' \
--form 'minimum_severity="Info"' \
--form 'close_old_findings="false"' \
--form "engagement_name=\"SAST\"" \
--form "verified=\"true\"" \
--form "active=\"true\"" \
--form "lead=\"1\"" \
--form "tags=\"test\"" \
--form "scan_type=\"Snyk Scan\"" \
--form "minimum_severity=\"Info\"" \
--form "close_old_findings=\"false\"" \
--form "file=@$(pwd)/NJSSCAN.json" \
--form 'product_name="NINZASWORKOUT"' \
--form 'test_title="SCA"' "
--form "product_name=\"NINZASWORKOUT\"" \
--form "test_title=\"SCA\""'


}
failure {
Expand Down

0 comments on commit 4710389

Please sign in to comment.