jenkins.buildone.cmd 743 B

1234567891011121314151617181920212223242526272829
  1. ::-------------------------------------------------------------------------------------------------------
  2. :: Copyright (C) Microsoft. All rights reserved.
  3. :: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. ::-------------------------------------------------------------------------------------------------------
  5. @echo off
  6. setlocal
  7. if not "%JENKINS_BUILD%" == "True" (
  8. echo This script should be run under a Jenkins Build environment
  9. exit /b 2
  10. )
  11. if "%_ENTRY_SCRIPT_NAME%"=="" (
  12. set _ENTRY_SCRIPT_NAME=%0
  13. )
  14. pushd %~dp0
  15. call jenkins.build.init.cmd %*
  16. set _BuildArch=
  17. set _BuildType=
  18. call jenkins.build.cmd %JENKINS_BUILD_ARGS%
  19. popd
  20. endlocal