Changeset 2496


Ignore:
Timestamp:
11/02/10 11:53:13 (3 years ago)
Author:
dbhart
Message:

Updated build script

File:
1 edited

Legend:

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

    r2495 r2496  
    1818        platform = os.environ['PLATFORM'].lower() 
    1919    else: 
    20         platform = 'unknown' 
     20        job_name = jobname.split('_') 
     21        platform = job_name[2] 
    2122    os.system('echo Starting Build Process') 
    2223    try: 
     
    5152        (errType, errVals, errTrace) = sys.exc_info() 
    5253        errVal, errType = errVals 
    53         os.system('echo BUILD: ERROR: <%s>'%errType) 
     54        os.system(('echo BUILD: ERROR: <%s>'%(errType))) 
    5455        sys.exit(errVal) 
    5556    return 
Note: See TracChangeset for help on using the changeset viewer.