-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACS-9044 Use temporary directory and allow any war file
- Loading branch information
1 parent
958e51a
commit 7eabbac
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,13 +84,15 @@ jobs: | |
bash ./scripts/ci/init.sh | ||
bash ./scripts/ci/build.sh | ||
- name: "Remove excluded files" | ||
run: bash ./scripts/ci/remove-sast-exclusions.sh | ||
run: | | ||
bash mkdir temp-dir-for-sast | ||
bash ./scripts/ci/remove-sast-exclusions.sh ./distribution/target/alfresco-reduced.war ./temp-dir-for-sast/reduced.war | ||
- name: "Run SAST Scan" | ||
uses: veracode/[email protected] | ||
with: | ||
vid: '${{ secrets.VERACODE_API_ID }}' | ||
vkey: '${{ secrets.VERACODE_API_KEY }}' | ||
file: "distribution/target/alfresco-reduced.war" | ||
file: "temp-dir-for-sast/reduced.war" | ||
fail_build: true | ||
project_name: acs-packaging-acs | ||
issue_details: true | ||
|
@@ -108,6 +110,8 @@ jobs: | |
with: | ||
name: Veracode Pipeline-Scan Results - ACS (Human Readable) | ||
path: readable_output.zip | ||
- name: "Remove temporary directory" | ||
run: bash rm -rfv temp-dir-for-sast | ||
- name: "Clean Maven cache" | ||
run: bash ./scripts/ci/cleanup_cache.sh | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters