summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-05-04 22:43:16 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-05-04 22:43:16 +0200
commit6184b3baf9098b7ee1c51b11feb14f062d4472e1 (patch)
treecce7709cd0e3808c858f7561205e01212c5a9944 /jjb
parentd72e2a2b156eb464c153878ab7d845205020b7b7 (diff)
Fix tty issue during foreman-deploy
JIRA: OCTO-47 Change-Id: I2eded2a5bae45669109f6b6aa92b60012d930d35 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/genesis/genesis-foreman.yml4
1 files 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"