From 6184b3baf9098b7ee1c51b11feb14f062d4472e1 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Mon, 4 May 2015 22:43:16 +0200 Subject: [PATCH] Fix tty issue during foreman-deploy JIRA: OCTO-47 Change-Id: I2eded2a5bae45669109f6b6aa92b60012d930d35 Signed-off-by: Fatih Degirmenci --- jjb/genesis/genesis-foreman.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jjb/genesis/genesis-foreman.yml b/jjb/genesis/genesis-foreman.yml index 336af30cf..4f5cb696d 100644 --- a/jjb/genesis/genesis-foreman.yml +++ b/jjb/genesis/genesis-foreman.yml @@ -405,7 +405,7 @@ ls -al $WORKSPACE/lf_settings # cleanup first - $WORKSPACE/clean.sh -base_config $WORKSPACE/lf_settings/lf_pod2_ksgen_settings.yml + ssh -t -t jenkins-ci@localhost "sudo $WORKSPACE/clean.sh -base_config $WORKSPACE/lf_settings/lf_pod2_ksgen_settings.yml" # and then initiate deployment - $WORKSPACE/deploy.sh -base_config $WORKSPACE/lf_settings/lf_pod2_ksgen_settings.yml + ssh -t -t jenkins-ci@localhost "sudo $WORKSPACE/deploy.sh -base_config $WORKSPACE/lf_settings/lf_pod2_ksgen_settings.yml" -- 2.16.6