2
0

ci.build.init.cmd 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. ::-------------------------------------------------------------------------------------------------------
  2. :: Copyright (C) Microsoft. All rights reserved.
  3. :: Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
  4. :: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  5. ::-------------------------------------------------------------------------------------------------------
  6. @echo off
  7. set REPO_ROOT=%~dp0\..
  8. set JENKINS_BUILD_ARGS=
  9. set JENKINS_FORCE_MSBUILD_VERSION=
  10. :ContinueArgParse
  11. if not [%1]==[] (
  12. if [%1]==[msbuild14] (
  13. set JENKINS_FORCE_MSBUILD_VERSION=%1
  14. goto :ContinueArgParseEnd
  15. )
  16. :: DEFAULT - add any other params to %JENKINS_BUILD_ARGS%
  17. if [%1] NEQ [] (
  18. set JENKINS_BUILD_ARGS=%JENKINS_BUILD_ARGS% %1
  19. goto :ContinueArgParseEnd
  20. )
  21. :ContinueArgParseEnd
  22. shift
  23. goto :ContinueArgParse
  24. )
  25. :: ========================================
  26. :: Set up msbuild.exe
  27. :: ========================================
  28. call %REPO_ROOT%\Build\scripts\add_msbuild_path.cmd %JENKINS_FORCE_MSBUILD_VERSION%