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

Template verification logs should include the verification failure reason

      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

          [JENKINS-46337] Template verification logs should include the verification failure reason

          Chenyang Liu added a comment -

          Do you use the image reference showed in help?

          Or please give me more details about your `Image Reference` configurations.

          Chenyang Liu added a comment - Do you use the image reference showed in help? Or please give me more details about your `Image Reference` configurations.

          Azure DevOps added a comment -

          Fixed in 0.7.0

          Azure DevOps added a comment - Fixed in 0.7.0

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

              Created:
              Updated:
              Resolved: