Details
-
Bug
-
Resolution: Unresolved
-
Trivial
-
None
-
3.13.0
-
2
Description
Put this in a Jenkins pipeline script:
node { echo 'Hello World' createTag nexusInstanceId: 'nx3-release', tagAttributesJson: '{"createdBy": "JohnSmith"}', tagName: 'build-120' }
When the script is run, the request that Nexus receives is:
127.0.0.1 - admin [23/Aug/2018:10:35:08 -0300] "POST /service/rest/v1/tags? HTTP/1.1" 200 59 181 80 "Apache-HttpClient/4.5.3 (Java/1.8.0_152)"
Expected
There are no query parameters sent. The trailing ? is superfluous and should not be appended to the URL.