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

          R. Tyler Croy created issue -
          Azure DevOps made changes -
          Assignee Original: Azure DevOps [ azure_devops ] New: Chenyang Liu [ zackliu ]
          Pui Chee Chan made changes -
          Labels Original: codevalet New: azure-jenkins codevalet in-progress
          Azure DevOps made changes -
          Labels Original: azure-jenkins codevalet in-progress New: azure-jenkins codevalet
          Azure DevOps made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Azure DevOps made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Jenkins IRC Bot made changes -
          Component/s New: _unsorted [ 19622 ]
          Component/s Original: azure-vm-agents-plugin [ 21950 ]

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

              Created:
              Updated:
              Resolved: