Changeset 2478


Ignore:
Timestamp:
10/28/10 12:14:13 (3 years ago)
Author:
dbhart
Message:

Update to build linux and windows using the build.py script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hudson/build-scripts/spot/build.py

    r2476 r2478  
    1414        job_name = jobname.split('_') 
    1515        type = job_name[1] 
    16         platform = job_name[2] 
     16        platform = os.environ['PLATFORM'] 
    1717        print type, platform, jobname 
    1818        if len(job_name) > 3: 
     
    3232        elif plat == 'lin': 
    3333            print 'Building on linux:', 
    34             pass 
     34            os.system('/usr/bin/env sh -l -e spot/linux') 
     35        elif plat == 'mac': 
     36            print 'Building on macintosh:', 
     37            os.system('/usr/bin/env sh -l -e spot/linux') 
    3538        else: 
    3639            raise Exception(1,'Unknown Platform: %s'%plat) 
Note: See TracChangeset for help on using the changeset viewer.