"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/developer/cls-buildsteps.rst" between
buildbot-3.0.2.tar.gz and buildbot-3.1.0.tar.gz

About: Buildbot is a continuous integration testing framework (Python-based). It supports also automation of complex build systems, application deployment, and management of sophisticated software-release processes.

cls-buildsteps.rst  (buildbot-3.0.2):cls-buildsteps.rst  (buildbot-3.1.0)
skipping to change at line 336 skipping to change at line 336
The function queues the test results and will submit them to the databas e when enough test The function queues the test results and will submit them to the databas e when enough test
results are added so that performance impact is minimized. results are added so that performance impact is minimized.
.. py:method:: finishTestResultSets() .. py:method:: finishTestResultSets()
The steps may override this to finish submission of any test results for the step. The steps may override this to finish submission of any test results for the step.
Build steps have statistics, a simple key/value store of data which can late r be aggregated over all steps in a build. Build steps have statistics, a simple key/value store of data which can late r be aggregated over all steps in a build.
Note that statistics are not preserved after a build is complete. Note that statistics are not preserved after a build is complete.
.. py:method:: setBuildData(self, name, value, source)
:param unicode name: the name of the data
:param bytestr value: the value of the data as ``bytes``.
:parma unicode source: the source of the data
:returns: Deferred
Builds can have transient data attached to them which allows steps to commun
icate to reporters and among themselves.
The data is a byte string, its interpretation depends on the particular step
or reporter.
.. py:method:: hasStatistic(stat) .. py:method:: hasStatistic(stat)
:param string stat: name of the statistic :param string stat: name of the statistic
:returns: True if the statistic exists on this step :returns: True if the statistic exists on this step
.. py:method:: getStatistic(stat, default=None) .. py:method:: getStatistic(stat, default=None)
:param string stat: name of the statistic :param string stat: name of the statistic
:param default: default value if the statistic does not exist :param default: default value if the statistic does not exist
:returns: value of the statistic, or the default value :returns: value of the statistic, or the default value
 End of changes. 1 change blocks. 
0 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)