When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
Hi @WBradney035779 (Community Member) - thank you for reaching out! I connected with a Veracode solution architect (thanks @krise (Veracode, Inc.) !) and here is his feedback: the scan will start when the upload is done - there is no waiting. Leave the ‘wait for scan to finish’ box unchecked and you should get the result you want.
Let us know if this makes sense!
We do in fact have "Wait for scan to complete unchecked". Below is an excerpt from one of our TeamCity build logs. This configuration was averaging under 1 minute build time before adding the Veracode build step. After Veracode this build took over 38 minutes, only to ultimately fail anyway.
[11:56:33][Step 7/7] [19.10.31 11:56:33]
[19.10.31 11:56:33] Uploading: <REDACTED>
[11:56:34][Step 7/7] [19.10.31 11:56:34]
[19.10.31 11:56:34] Uploading: <REDACTED>
[11:56:35][Step 7/7] [19.10.31 11:56:35]
[19.10.31 11:56:35] Starting pre-scan verification for application "<REDACTED>" build "<REDACTED>.106".
[11:56:36][Step 7/7] [19.10.31 11:56:36]
[19.10.31 11:56:36] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 11:56:36] Requesting build info again in 2 minutes.
[11:58:37][Step 7/7] [19.10.31 11:58:37]
[19.10.31 11:58:37] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 11:58:37] Requesting build info again in 2 minutes.
[12:00:43][Step 7/7] [19.10.31 12:00:43]
[19.10.31 12:00:43] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:00:43] Requesting build info again in 2 minutes.
[12:02:48][Step 7/7] [19.10.31 12:02:48]
[19.10.31 12:02:48] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:02:48] Requesting build info again in 2 minutes.
[12:04:50][Step 7/7] [19.10.31 12:04:50]
[19.10.31 12:04:50] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:04:50] Requesting build info again in 2 minutes.
[12:06:53][Step 7/7] [19.10.31 12:06:53]
[19.10.31 12:06:53] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:06:53] Requesting build info again in 2 minutes.
[12:08:55][Step 7/7] [19.10.31 12:08:55]
[19.10.31 12:08:55] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:08:55] Requesting build info again in 2 minutes.
[12:10:57][Step 7/7] [19.10.31 12:10:57]
[19.10.31 12:10:57] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:10:57] Requesting build info again in 2 minutes.
[12:12:58][Step 7/7] [19.10.31 12:12:58]
[19.10.31 12:12:58] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:12:58] Requesting build info again in 2 minutes.
[12:14:59][Step 7/7] [19.10.31 12:14:59]
[19.10.31 12:14:59] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:14:59] Requesting build info again in 2 minutes.
[12:17:02][Step 7/7] [19.10.31 12:17:02]
[19.10.31 12:17:02] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:17:02] Requesting build info again in 2 minutes.
[12:19:04][Step 7/7] [19.10.31 12:19:03]
[19.10.31 12:19:03] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:19:03] Requesting build info again in 2 minutes.
[12:21:07][Step 7/7] [19.10.31 12:21:07]
[19.10.31 12:21:07] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:21:07] Requesting build info again in 2 minutes.
[12:23:09][Step 7/7] [19.10.31 12:23:09]
[19.10.31 12:23:09] The status of "<REDACTED>.106" is "Pre-Scan Submitted".
[19.10.31 12:23:09] Requesting build info again in 2 minutes.
[12:30:16][Step 7/7] [19.10.31 12:30:16]
[19.10.31 12:30:16] Server returned HTTP response code: 401 for URL: https://analysiscenter.veracode.com/api/5.0/getbuildinfo.do
[19.10.31 12:30:16] Please make sure that all of the following are true:
[19.10.31 12:30:16] 1. The login credentials are valid.
[19.10.31 12:30:16] 2. The account is an API account with sufficient privilege.
[19.10.31 12:30:16] 3. The account is not locked.
[19.10.31 12:30:16] 4. This machine's internet-facing IP address is not restricted.
[12:30:16][Step 7/7] Error - code Returned from wrapper: 2
[12:30:16][Step 7/7] Error message is logged
Hi @WBradney035779 (Community Member) - here is @krise (Veracode, Inc.) 's feedback: It looks like you are trying to select modules, which would require prescan to complete (so we know what modules exist in your upload). You also seem to have a problem with your permissions. At this point, we'd suggest opening a support request. There could be one of several problems here and it will likely take some time to get all the info to correctly diagnose the problem.
Here's how to log a case:
Let me know if you have any question submitting a case.