~ubuntu-branches/ubuntu/saucy/jenkins/saucy

« back to all changes in this revision

Viewing changes to core/src/main/resources/hudson/model/Run/_api.jelly

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-01-10 09:50:50 UTC
  • mfrom: (5.1.10 experimental)
  • Revision ID: package-import@ubuntu.com-20130110095050-kj8xuw20gcfh62k3
Tags: 1.480.2+dfsg-1~exp1
* New upstream release (Closes: #696816, #697617):
  - d/control: Added new BD on libjbcrypt-java.
  - d/control: Versioned BD jenkins-winstone >= 0.9.10-jenkins-40.
  - d/control: Versioned BD jenkins-trilead-ssh2 >= 214-jenkins-1.
  - Fixes the following security vulnerabilities:
    CVE-2012-6072, CVE-2012-6073, CVE-2012-6072, CVE-2013-0158.
* Tidied lintian warnings.
* Bumped Standards-Version: 3.9.4, no changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
      in which the date is formatted.
41
41
    </dd>
42
42
  </dl>
 
43
 
 
44
  <h2>Accessing Progressive Console Output</h2>
 
45
  <p>
 
46
    You can retrieve in-progress console output by making repeated GET requests with a parameter.
 
47
    You'll basically send GET request to
 
48
    <a href="../logText/progressiveText?start=0">this URL</a> (or <a href="../logText/progressiveHtml?start=0">this URL</a> if you
 
49
    want HTML that can be put into &lt;pre> tag.)
 
50
    The <tt>start</tt> parameter controls the byte offset of where you start.
 
51
  </p><p>
 
52
    The response will contain a chunk of the console output, as well as the <tt>X-Text-Size</tt> header that represents
 
53
    the number of bytes (in the raw log file) the response served.
 
54
    This is the number you want to add to the <tt>start</tt> parameter before making the next call.
 
55
  </p><p>
 
56
    If the response also contains the <tt>X-More-Data: true</tt> header, the server is indicating that the build
 
57
    is in progress, and you need to repeat the request after some delay. The Jenkins UI waits 5 seconds before making
 
58
    the next call. When this header is not present, you know that you've retrieved all the data and the build is complete.
 
59
  </p>
43
60
</j:jelly>