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

Can't disable a Maven style job via GET method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • None
    • Hudson 1.389

      If a job is freestyle, I can hit this URL to disable it http://hudsonserver/job/jobname/disable

      But if it's a Maven job, I'll get this:

      javax.servlet.ServletException: Must be POST, Can't be GET
      at hudson.model.AbstractModelObject.requirePOST(AbstractModelObject.java:83)

      Incidentally, there is no "Disable" button on the job page if it's Maven style (there's one for free style job)

            Unassigned Unassigned
            hhuynh hhuynh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: