
IStrathdee773527 (Community Member) asked a question.
We have a client who was using the Veracode extension with Azure DevOps Server 2019 update 1.1 without issue in late July. Earlier this week, it was reported that the Upload & Scan task was only displaying the task info/description, but there is no actual Upload or Scanning performed.
The task itself completes successfully in the pipeline, but there's just no output.
I'm wondering what I should look for to resolve this. The client has stated that no changes to the pipeline were made since it last completed successfully with logs showing the output.
Here is what is currently displayed in the logs for that task once it completes:
2020-08-04T19:30:43.2367615Z ##sectionStarting: Upload and scan
2020-08-04T19:30:43.9399596Z ==============================================================================
2020-08-04T19:30:43.9399739Z Task : Veracode Upload and Scan
2020-08-04T19:30:43.9399788Z Description : Upload an application to the Veracode Platform for security testing.
2020-08-04T19:30:43.9399864Z Version : 3.1.0
2020-08-04T19:30:43.9399909Z Author : Veracode
2020-08-04T19:30:43.9399967Z Help : [Veracode](http://www.veracode.com)
2020-08-04T19:30:43.9400395Z ==============================================================================
2020-08-04T19:30:44.4893036Z ##sectionFinishing: Upload and scan
The previous step (Download Artifacts) completes successfully with output, and there is one warning (below are the last few lines of the output):
2020-08-04T19:30:43.2237211Z Download complete.
2020-08-04T19:30:43.2237452Z 7 placed file(s): 7 downloaded, 0 empty
2020-08-04T19:30:43.2237653Z 82 MB downloaded at 36938 KB/sec. Download time: 00:00:02.2536623.
2020-08-04T19:30:43.2237814Z Preparing to download artifact: build.SourceLabel
2020-08-04T19:30:43.2258580Z ##warningRelease management does not support download of artifact type GitRef in the current version
2020-08-04T19:30:43.2289781Z Downloaded linked artifact _Services-AdminPortal-CI
2020-08-04T19:30:43.2289923Z Finished artifacts download
2020-08-04T19:30:43.2336566Z ##sectionFinishing: Download Artifacts
It looks like we are one minor version behind (3.1 vs 3.2, latest), but I don't think that would cause this sudden behavior.
One option that was suggested was that the Veracode Upload & Scan task might fail if the same task is already running with the same credentials in another job, however that does not appear to be the case here either.
Thank you in advance!
.png)
Hi Stephen, thank you for your patience. After trying all the steps we were provided, the client determined it was due to their JAVA_HOME environmental variable being missing from the system. Once provided, the Veracode Upload & Scan task is now working as expected.
Thank you for all the support here!