Skip to content
Snippets Groups Projects
Commit 261b58ca authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

using tty option is not ok on jenkins

parent c96b9eb7
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ docker run \ ...@@ -57,7 +57,7 @@ docker run \
-e "config=$config" \ -e "config=$config" \
-e "arch=$arch" \ -e "arch=$arch" \
-e CCACHE_DIR=/tmp/ccache \ -e CCACHE_DIR=/tmp/ccache \
-it \ -i $TTY_FLAG \
-v "$git_root:/var/local/jenkins/grpc" \ -v "$git_root:/var/local/jenkins/grpc" \
-v /tmp/ccache:/tmp/ccache \ -v /tmp/ccache:/tmp/ccache \
-w /var/local/git/grpc \ -w /var/local/git/grpc \
......
...@@ -484,6 +484,8 @@ if args.use_docker: ...@@ -484,6 +484,8 @@ if args.use_docker:
env['RUN_TESTS_COMMAND'] = run_tests_cmd env['RUN_TESTS_COMMAND'] = run_tests_cmd
if args.xml_report: if args.xml_report:
env['XML_REPORT'] = 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'], subprocess.check_call(['tools/jenkins/build_docker_and_run_tests.sh'],
shell=True, shell=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment