Skip to content

Commit

Permalink
Merge pull request #16 from sinat101/patch-1
Browse files Browse the repository at this point in the history
Updated example and description
  • Loading branch information
tjarrettveracode authored May 6, 2022
2 parents 3eae149 + d533f56 commit c1ac369
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ With the scan deleted automatically, you can create subsequent scans without hav

## Example usage

The following example will upload all files contained within the folder_to_upload to Veracode and start a static scan.
The following example will compile and build a Java web applicatin (.war file) from the main branch of the source code repository using Maven. The compiled .war file is then uploaded to Veracode and a static analysis scan is run.

The veracode credentials are read from github secrets. NEVER STORE YOUR SECRETS IN THE REPOSITORY.

Expand All @@ -123,6 +123,9 @@ jobs:
steps:
- name: Check out main branch
uses: actions/checkout@v2

- name: Build with Maven # Compiling the .war binary from the checked out repo source code to upload to the scanner in the next step
run: mvn -B package --file app/pom.xml

- name: Veracode Upload And Scan
uses: veracode/[email protected]
Expand Down

0 comments on commit c1ac369

Please sign in to comment.