using tty option is not ok on jenkins

pull/3388/head
Jan Tattermusch 10 years ago
parent c96b9eb750
commit 261b58ca80
  1. 2
      tools/jenkins/build_docker_and_run_tests.sh
  2. 2
      tools/run_tests/run_tests.py

@ -57,7 +57,7 @@ docker run \
-e "config=$config" \
-e "arch=$arch" \
-e CCACHE_DIR=/tmp/ccache \
-it \
-i $TTY_FLAG \
-v "$git_root:/var/local/jenkins/grpc" \
-v /tmp/ccache:/tmp/ccache \
-w /var/local/git/grpc \

@ -484,6 +484,8 @@ if args.use_docker:
env['RUN_TESTS_COMMAND'] = run_tests_cmd
if args.xml_report:
env['XML_REPORT'] = args.xml_report
if not args.travis:
env['TTY_FLAG'] = '-t' # enables Ctrl-C when not on Jenkins.
subprocess.check_call(['tools/jenkins/build_docker_and_run_tests.sh'],
shell=True,

Loading…
Cancel
Save