[Buildbot] #2983: How to acces time/date value when slave build starts running
Buildbot trac
trac at buildbot.net
Tue Oct 28 23:47:22 UTC 2014
#2983: How to acces time/date value when slave build starts running
----------------------------+----------------------
Reporter: sachinpatela | Owner:
Type: support-request | Status: new
Priority: major | Milestone: ongoing
Version: 0.8.9 | Resolution:
Keywords: |
----------------------------+----------------------
Changes (by dustin):
* milestone: undecided => ongoing
Comment:
It's a best practice to put as much logic as possible into your build
scripts. So if your build or test process needs the current time, then
the script that runs your tests should determine the current time, for
example with the `date` command in shell, or with `time.time()` in Python.
Where do you want to call a Python function -- on the master, or on the
slave?
Yes, you can pass properties to steps using Property or Interpolate.
--
Ticket URL: <http://trac.buildbot.net/ticket/2983#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list