Changeset 80285
- Timestamp:
- 07/08/11 09:22:57 (4 years ago)
- File:
-
- 1 edited
-
contrib/buildbot/master.cfg (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
contrib/buildbot/master.cfg
r80244 r80285 126 126 # custom class to make the file list available on the slave... 127 127 class ShellCommandWithPortList(ShellCommand): 128 name = 'write portlist file' 129 description = 'write portlist file' 130 128 131 def setBuild(self, build): 129 132 ShellCommand.setBuild(self, build) 130 133 134 # support forced build properties 135 portlist = self.getProperty('portlist').strip() 136 131 137 portset = set() 132 138 # paths should be category/portdir(/...) … … 135 141 if len(comps) >= 2 and comps[0] != '_resources': 136 142 portset.add(comps[1]) 137 portlist =' '.join(portset)143 portlist += ' ' + ' '.join(portset) 138 144 self.setProperty('portlist', portlist) 139 145 … … 158 164 mode="update")) 159 165 ports_factory.addStep(ShellCommand(command=["./mpsync.sh"], 166 name="sync", 167 description="sync", 160 168 env={'PREFIX': WithProperties(prefix), 161 169 'SRC_PREFIX': WithProperties(src_prefix), … … 168 176 # sign generated binaries and sync to download server (if distributable) 169 177 ports_factory.addStep(ShellCommand(command=["./deploy_archives.sh"], 178 name="deploy archives", 179 description="deploy archives", 170 180 env={'PREFIX': WithProperties(prefix), 171 181 'DLHOST': dlhost, … … 174 184 # make a logfile summarising the success/failure status for each port 175 185 ports_factory.addStep(ShellCommand(command=["./do_status.sh"], 186 name="status", 187 description="status", 176 188 env={'PREFIX': WithProperties(prefix)}, 177 189 logfiles={"portstatus": "portstatus.log"})) 178 190 # do we want to upload the individual logs so maintainers can review them? 179 ports_factory.addStep(ShellCommand(command="rm -rf ./logs-*")) 191 ports_factory.addStep(ShellCommand(command="rm -rf ./logs-*", 192 name="cleanup", 193 description="cleanup")) 180 194 181 195 from buildbot.config import BuilderConfig
Note: See TracChangeset
for help on using the changeset viewer.

