-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins version: 2.492.1
External Monitor Job Type Plugin Versión 221.v35059272565b_
Jenkins is installed as recommended in the documentation, i.e. the war runing with the internal Jetty server in Red Hat Enterprise Linux
There are no redirections, no Apache/Nginx before reaching Jenkins.
The user is an administrator role with authorization for everything.
No TLS problems
Jenkins log doesn't show anything related to this.Jenkins version: 2.492.1 External Monitor Job Type Plugin Versión 221.v35059272565b_ Jenkins is installed as recommended in the documentation, i.e. the war runing with the internal Jetty server in Red Hat Enterprise Linux There are no redirections, no Apache/Nginx before reaching Jenkins. The user is an administrator role with authorization for everything. No TLS problems Jenkins log doesn't show anything related to this.
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"