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

Add PATCH Mode

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: http-request-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.651.3
      http_request-1.8.11
    • Similar Issues:

      Description

      Currently, the http-request plugin does not support PATCH as an HTTP mode. There are many APIs that require the use of PATCH to update entities (GitHub, Docker Cloud, etc).

      One thing to note, it appears that the underlying Jenkins Rule HTTP server does not support PATCH, therefore it may not be possible to test it with existing tests.

        Attachments

          Activity

          Show
          kmadel Kurt Madel added a comment - https://github.com/jenkinsci/http-request-plugin/pull/19
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kurt Madel
          Path:
          README.md
          src/main/java/jenkins/plugins/http_request/HttpMode.java
          src/main/java/jenkins/plugins/http_request/util/HttpClientUtil.java
          src/test/java/jenkins/plugins/http_request/HttpRequestStepTest.java
          src/test/java/jenkins/plugins/http_request/HttpRequestTest.java
          http://jenkins-ci.org/commit/http-request-plugin/42450f9cb099e6450581fce0302312ff9581a544
          Log:
          fix for JENKINS-37260 Add PATCH Mode, also updated README and added example to show use of PATCH with a request body

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kurt Madel Path: README.md src/main/java/jenkins/plugins/http_request/HttpMode.java src/main/java/jenkins/plugins/http_request/util/HttpClientUtil.java src/test/java/jenkins/plugins/http_request/HttpRequestStepTest.java src/test/java/jenkins/plugins/http_request/HttpRequestTest.java http://jenkins-ci.org/commit/http-request-plugin/42450f9cb099e6450581fce0302312ff9581a544 Log: fix for JENKINS-37260 Add PATCH Mode, also updated README and added example to show use of PATCH with a request body
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Janario Oliveira
          Path:
          README.md
          src/main/java/jenkins/plugins/http_request/HttpMode.java
          src/main/java/jenkins/plugins/http_request/util/HttpClientUtil.java
          src/test/java/jenkins/plugins/http_request/HttpRequestStepTest.java
          src/test/java/jenkins/plugins/http_request/HttpRequestTest.java
          http://jenkins-ci.org/commit/http-request-plugin/f3d78a89f8320fcd5d919048cb543935d739b757
          Log:
          Merge pull request #19 from kmadel/add-patch-mode

          JENKINS-37260 Add PATCH Mode

          Compare: https://github.com/jenkinsci/http-request-plugin/compare/82285c2b86e1...f3d78a89f832

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Janario Oliveira Path: README.md src/main/java/jenkins/plugins/http_request/HttpMode.java src/main/java/jenkins/plugins/http_request/util/HttpClientUtil.java src/test/java/jenkins/plugins/http_request/HttpRequestStepTest.java src/test/java/jenkins/plugins/http_request/HttpRequestTest.java http://jenkins-ci.org/commit/http-request-plugin/f3d78a89f8320fcd5d919048cb543935d739b757 Log: Merge pull request #19 from kmadel/add-patch-mode JENKINS-37260 Add PATCH Mode Compare: https://github.com/jenkinsci/http-request-plugin/compare/82285c2b86e1...f3d78a89f832

            People

            Assignee:
            janario Janario Oliveira
            Reporter:
            kmadel Kurt Madel
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: