Changeset 1a4f4df in sasview for build_tools


Ignore:
Timestamp:
Jun 30, 2016 7:46:42 AM (8 years ago)
Author:
trnielsen
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a78bc87
Parents:
8ca1ba1
Message:

Ticket #419: Windows - Move GIT revision nr to build script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build_tools/jenkins_win_build.bat

    rb4994b7 r1a4f4df  
    44set PYLINT= C:\Python27\Scripts\pylint 
    55set INNO="C:\Program Files (x86)\Inno Setup 5\ISCC.exe" 
     6set GIT_SED="C:\Program Files"\Git\bin\sed.exe" 
     7 
    68 
    79set PYTHONPATH=%PYTHONPATH%;%WORKSPACE%\sasview\utils 
     
    1012echo %PYTHONPATH% 
    1113echo %WORKSPACE% 
     14 
     15 
     16:: SET SASVIEW GITHASH ################################################ 
     17cd %WORKSPACE% 
     18cd sasview\sasview 
     19git rev-parse HEAD > tmpFile_githash 
     20SET /p githash= < tmpFile_githash 
     21DEL tmpFile_githash 
     22%GIT_SED% -i.bak "s/GIT_COMMIT/%githash%/g" __init__.py 
     23 
    1224 
    1325 
Note: See TracChangeset for help on using the changeset viewer.