MJawadwala161837 (Community Member) asked a question.

We have created a Jenkins pipeline and it executes successfully but nothing is uploaded on Veracode under static scan

Jenkins Script:

stage('Veracode Scan Upload')

{

  withCredentials([usernamePassword(credentialsId: '39b2037c-94d8-4f40-9a30-83c27e5b8e6', passwordVariable: 'veracode_secret', usernameVariable: 'veracode_api')])

    {

  veracode applicationName: 'ARCON 4.8.5.0', createSandbox: false, criticality: 'VeryHigh', deleteIncompleteScanLevel: '0', 

  fileNamePattern: '', replacementPattern: '', sandboxName: 'PAM API Core', scanExcludesPattern: '', scanIncludesPattern: '', scanName: 'PAM_API_Dev_Int', teams: 'PAM API', 

  uploadIncludesPattern: 'E:\\Jenkins\\Int\\Publish\\ARCONPAMAPI\\5\\ARCONPAMAPI\\bin\\ARCONPAMAPI.dll',

  vid: '${veracode_api}', vkey: '${veracode_secret}'

  }

   

}

 

 

Logs are as follow:

Upload and Scan with Veracode Pipeline

 


  • MFifield125186 (Community Member)

    If your Jenkins pipeline is executing successfully but nothing is being uploaded to Veracode for static scanning, there are a few things you can check:

     

    Verify that the Veracode API credentials being used in the pipeline are correct and have the necessary permissions to upload files.

    Ensure that the Veracode pipeline integration plugin is correctly installed in Jenkins. Check that the pipeline script is correctly configured to upload the build artifacts to Veracode. You can refer to the Veracode pipeline integration plugin documentation or examples to ensure that the script is set up correctly.

    Confirm that there are no network or firewall issues preventing the pipeline from communicating with the Veracode API.

    If none of these steps resolve the issue, you can reach out to Veracode support for further assistance in troubleshooting the problem.

    Expand Post

Topics (4)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.