New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81284


Ignore:
Timestamp:
07/28/11 16:14:06 (4 years ago)
Author:
wsiegrist@…
Message:

Remove the portlist during the same step that we create it in so failing to reach the cleanup step does not leave behind a stale list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/buildbot/master.cfg

    r81235 r81284  
    175175                           'SRC_PREFIX': WithProperties(src_prefix), 
    176176                           'BASE_UPDATE': 'selfupdate'})) 
    177 ports_factory.addStep(ShellCommandWithPortList(command=WithProperties('for portname in %(portlist)s; do for subport in `./subports.tcl $portname`; do echo $subport >> portlist; done; done'))) 
     177ports_factory.addStep(ShellCommandWithPortList(command=WithProperties('rm -f portlist; for portname in %(portlist)s; do for subport in `./subports.tcl $portname`; do echo $subport >> portlist; done; done'))) 
    178178# run MPAB on the port list 
    179179ports_factory.addStep(Compile(command=["./mpab", "buildports", "portlist"], 
     
    209209                        logfiles={"portstatus": "portstatus.log"})) 
    210210# TODO: do we want to upload the individual logs so maintainers can review them? 
    211 ports_factory.addStep(ShellCommand(command="rm -rf ./logs-* portlist ./"+ulpath, 
     211ports_factory.addStep(ShellCommand(command="rm -rf ./logs-* ./"+ulpath, 
    212212                                   name="cleanup", 
    213213                                   description="cleanup")) 
Note: See TracChangeset for help on using the changeset viewer.