The integration works, mostly... On Artifactory 2.5.2
The build gets registered in Artifactory and is listed as expected with a name like "path/to/build" When clicking on the link to get the listing of build numbers, you end up at a URL that looks like: http://myhost/artifactory/webapp/builds/path%2Fto%2Fbuild/?12 with a partially broken page - no stylesheets, etc, but a listing of build numbers. However, if I manually edit the URL to the following: (change %2F to /) http://myhost/artifactory/webapp/builds/path/to/build/?12 The page comes up as expected. But then navigating to a specific build results in a broken link: http://myhost/artifactory/webapp/builds/path/to/build/2//2015-02-25T19:44:35.512+0000/?271 However, if I edit the URL to the following: (remove "path/to" and extra "/") http://myhost/artifactory/webapp/builds/build/2/2015-02-25T19:44:35.512+0000/?271 I get the build details as expected. Additionally, the REST API gives similar erroneous results: GET /api/build/path/to/build/2 Gives me the buildInfo results as one might expect, however: GET /api/build/path/to/build Gives me: { "errors" : [ { "status" : 404, "message" : "No build was found for build name: path/to, build number: build " } ] } If I try: GET /api/build/path%2Fto%2Fbuild I get the same 404 error message. If I double encode as follows: GET /api/build/path%252Fto%252Fbuild I get a similar 404 error: { "errors" : [ { "status" : 404, "message" : "No build was found for build name: path%2Fto%2Fbuild" } ] } However, a GET /api/build properly returns: { "builds" : [ { "uri" : "/path/to/build", "lastStarted" : "2015-02-25T19:44:35.512+0000" } ], "uri" : "http://myhost/artifactory/api/build" } It seems like there's bug somewhere... any ideas? -- View this message in context: http://forums.jfrog.org/Broken-build-links-and-odd-REST-API-behavior-in-Artifactory-when-using-Jenkins-integration-with-Clous-tp7580219.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
