Changeset 656
- Timestamp:
- 06/25/08 19:35:41 (2 months ago)
- Files:
-
- docs/buildbot.texinfo (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
docs/buildbot.texinfo
r651 r656 4148 4148 from buildbot.process.properties import WithProperties 4149 4149 4150 f.addStep(ShellCommand ,4150 f.addStep(ShellCommand( 4151 4151 command=["tar", "czf", 4152 4152 WithProperties("build-%s.tar.gz", "revision"), 4153 "source"]) 4153 "source"])) 4154 4154 @end example 4155 4155 … … 4169 4169 4170 4170 @example 4171 f.addStep(ShellCommand ,4171 f.addStep(ShellCommand( 4172 4172 command=["tar", "czf", 4173 4173 WithProperties("build-%(revision)s.tar.gz"), 4174 "source"]) 4174 "source"])) 4175 4175 @end example 4176 4176 … … 4833 4833 4834 4834 @example 4835 f.addStep(ShellCommand ,command=["make", "test"],4836 env=@{'LANG': 'fr_FR'@})4835 f.addStep(ShellCommand(command=["make", "test"], 4836 env=@{'LANG': 'fr_FR'@})) 4837 4837 @end example 4838 4838 … … 4847 4847 4848 4848 @example 4849 f.addStep(ShellCommand, command=["make", "test"], 4850 env=@{'PYTHONPATH': ["/usr/local/lib/python2.3", 4851 "/home/buildbot/lib/python"] @}) 4849 f.addStep(ShellCommand( 4850 command=["make", "test"], 4851 env=@{'PYTHONPATH': ["/usr/local/lib/python2.3", 4852 "/home/buildbot/lib/python"] @})) 4852 4853 @end example 4853 4854 … … 4879 4880 4880 4881 @example 4881 f.addStep(ShellCommand, command=["make", "test"], 4882 logfiles=@{"triallog": "_trial_temp/test.log"@}) 4882 f.addStep(ShellCommand( 4883 command=["make", "test"], 4884 logfiles=@{"triallog": "_trial_temp/test.log"@})) 4883 4885 @end example 4884 4886 … … 4908 4910 4909 4911 @example 4910 f.addStep(ShellCommand ,command=["make", "test"],4911 description=["testing"],4912 descriptionDone=["tests"])4912 f.addStep(ShellCommand(command=["make", "test"], 4913 description=["testing"], 4914 descriptionDone=["tests"])) 4913 4915 @end example 4914 4916 … … 5092 5094 5093 5095 ... 5094 f.addStep(BuildEPYDoc , command=["epydoc", "-o", "apiref", "source/mypkg"])5096 f.addStep(BuildEPYDoc(command=["epydoc", "-o", "apiref", "source/mypkg"])) 5095 5097 @end example 5096 5098 … … 5119 5121 5120 5122 ... 5121 f.addStep(PyFlakes , command=["pyflakes", "src"])5123 f.addStep(PyFlakes(command=["pyflakes", "src"])) 5122 5124 @end example 5123 5125 … … 5151 5153 from buildbot.steps.transfer import FileUpload 5152 5154 5153 f.addStep(ShellCommand, command=["make", "docs"]) 5154 f.addStep(FileUpload, 5155 slavesrc="docs/reference.html", 5156 masterdest="~/public_html/ref.html") 5155 f.addStep(ShellCommand(command=["make", "docs"])) 5156 f.addStep(FileUpload(slavesrc="docs/reference.html", 5157 masterdest="~/public_html/ref.html")) 5157 5158 @end example 5158 5159 … … 5174 5175 from buildbot.steps.transfer import FileUpload 5175 5176 5176 f.addStep(FileDownload 5177 mastersrc="~/todays_build_config.txt", 5178 slavedest="build_config.txt") 5179 f.addStep(ShellCommand, command=["make", "config"]) 5177 f.addStep(FileDownload(mastersrc="~/todays_build_config.txt", 5178 slavedest="build_config.txt")) 5179 f.addStep(ShellCommand(command=["make", "config"])) 5180 5180 @end example 5181 5181 … … 5220 5220 @example 5221 5221 from buildbot.steps.trigger import Trigger 5222 f.addStep(Trigger ,schedulerNames=['build-prep'],5223 waitForFinish=True,5224 updateSourceStamp=True)5222 f.addStep(Trigger(schedulerNames=['build-prep'], 5223 waitForFinish=True, 5224 updateSourceStamp=True)) 5225 5225 @end example 5226 5226
![[Buildbot Logo]](/trac/chrome/site/header-text-transparent.png)