Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-545

allow xmlrpc access to build results log

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.0.3
    • XMLRPC Interface
    • None

    Description

      currently the xmlrpc access cannot read build results, it's not included for performance reasons. But without means of accessing it, the netbeans integration is just half as useful. Providing an URL on the server for the build should be enough.

      irc log:

      another Q: will it be possible to get the build results/output from rpc? currently I didn't figure how..
      evenisse method is missing in rpc server
      trygvis yeah, that was deliberate
      evenisse you can add it DefaultContinum.getBuildResult(id).getOutput()
      trygvis we should make a special servlet for returning the build output
      evenisse why? due to output length?
      trygvis yep
      trygvis useful for the web UI anyway
      trygvis I'm afraid that giving the xml-rpc stuff 20MB of logs will give a OutOfMemoryException
      evenisse 20MB for an build output, pff
      trygvis hehe, the geronimo build is at least that!
      evenisse ok, so mkleint, don't use rpc for output
      mkleint can have at least the ending portion of the output log?
      mkleint evenisse: kind of sucks, the IDE integration not usefule much then.. I assumed it will be added someday..
      mkleint or produce an URL that can be opened on request..
      trygvis you can do a simple HTTP GET to get it
      trygvis right
      mkleint how to construct the URL?
      trygvis it's not implemented, but probably <continuum root>/build-output/<build id>
      mkleint btw I'm also not getting the list of builds in rpc at all.. a bug or not implemented either?
      evenisse with 1.0.* http://server/continuum/servlet/continuum/target/ProjectBuild.vm?view=ProjectBuild&buildId=BUILD_RESULT_I&id=PROJECT_ID
      evenisse and get on it only what you need
      <--| jsisson has left #continuum (jsisson)
      trygvis won't that give you an entire html page=
      trygvis ?
      evenisse yes
      evenisse but output is after "<h4>Output</h4>"

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            mkleint Milos Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: