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

New Stapler routing rules result in the URL "/descriptorByName/com.microsoft.azure.vmagent.AzureVMAgentTemplate/fillAvailabilityTypeItems" no longer being allowed.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: _unsorted
    • Labels:
      None
    • Environment:
      jenkins: 2.150.2
      azure-vm-agents:0.8.0
    • Similar Issues:

      Description

      Every refresh of the /configure page shows the following warning:

      Feb 11, 2019 7:56:53 AM jenkins.security.stapler.StaplerFilteredActionListener onDoActionTrigger
      jenkins    | WARNING: New Stapler routing rules result in the URL "/descriptorByName/com.microsoft.azure.vmagent.AzureVMAgentTemplate/fillAvailabilityTypeItems" no longer being allowed. If you consider it safe to use, add the following to the whitelist: "method com.microsoft.azure.vmagent.AzureVMAgentTemplate$DescriptorImpl doFillAvailabilityTypeItems". Learn more: https://jenkins.io/redirect/stapler-routing
      

        Attachments

          Issue Links

            Activity

            Hide
            medianick Nick Jones added a comment -

            If you run the following in the Script Console, it should avoid the issue:

            jenkins.security.stapler.StaticRoutingDecisionProvider.get().add('method com.microsoft.azure.vmagent.AzureVMAgentTemplate$DescriptorImpl doFillAvailabilityTypeItems')
            
            Show
            medianick Nick Jones added a comment - If you run the following in the Script Console, it should avoid the issue: jenkins.security.stapler.StaticRoutingDecisionProvider.get().add( 'method com.microsoft.azure.vmagent.AzureVMAgentTemplate$DescriptorImpl doFillAvailabilityTypeItems' )
            Hide
            jieshe Jie Shen added a comment -

            I will remove this warning here.

            Show
            jieshe Jie Shen added a comment - I will remove this warning here.
            Hide
            luckyhorang Hokwang Lee added a comment -

            Jie Shen Any updates?

            Show
            luckyhorang Hokwang Lee added a comment - Jie Shen Any updates?

              People

              Assignee:
              timja Tim Jacomb
              Reporter:
              timja Tim Jacomb
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: