-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated example description to match the new example and also added a build step to the example.
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -101,7 +101,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. | ||
|
||
|
@@ -117,6 +117,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] | ||
|