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 2059dae commit e140236
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Jenkinsfile1
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@ pipeline {
always{
sh 'echo $(pwd);ls'
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 'file=@"/Users/effortlessdevsec/.jenkins/workspace/NODEJS-SECURE-PIPELINE/NJSSCAN.json"' \
--form "product_name=\"NINZASWORKOUT\"" \
--form "test_title=\"SCA\""
curl --location 'http://localhost:8080/api/v2/reimport-scan/' \
--header 'Authorization: Token 8caa580498e0dab4a716f991228787d361520052' \
--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=@"/Users/effortlessdevsec/.jenkins/workspace/NODEJS-SECURE-PIPELINE/NJSSCAN.json"' \
--form 'product_name="NINZASWORKOUT"' \
--form 'test_title="SCA"'
'''


Expand Down

0 comments on commit e140236

Please sign in to comment.