Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46337

Template verification logs should include the verification failure reason

XMLWordPrintable

      I'm getting this errors in the logs for a template of mine:

      AzureVMCloudVerificationTask: registerTemplateHelper: Registering template ubuntu-1604-docker on Azure for verification
      Aug 22, 2017 3:51:34 AM INFO com.microsoft.azure.vmagent.AzureVMCloud canProvision
      AzureVMCloud: canProvision: template ubuntu-1604-docker is awaiting verification or has failed verification
      Aug 22, 2017 3:51:34 AM INFO com.microsoft.azure.vmagent.AzureVMCloudVerificationTask registerTemplateHelper
      

      In the script console, when I actually println out the results of verifyTemplate() I get:

      [Failed to validate the provided image reference: Invalid SKU]
      

      That information would be quite helpful to include in the error log message

            zackliu Chenyang Liu
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: