Using curl it returns 404 (not found)

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Environment:

      The plugin works via jenkins cli without problems. The following call updates the "externalJob"  Jenkins job as expected:

      $ java -jar jenkins-cli.jar -s https://jenkinsServer:8443/ -auth admin:passwordAdmin set-external-build-result --display nombreBuild --dump-build-number --duration 10 --job externalJob --log logdesalida --result 0

      Using curl, however, following the example from the plugin documentation it returns a 404 (not found) http error code

      $ curl -u "admin:passwordAdmin" -X POST -d '<run><log encoding="hexBinary">4142430A</log><result>0</result><duration>2000</duration></run>' "https://jenkinsServer:8443/jenkins/job/externalJob/postBuildResult"

       

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            Pedro Gutierrez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: