Fix tty issue during foreman-deploy
[releng.git] / jjb / genesis / genesis-foreman.yml
index 906de1e..4f5cb69 100644 (file)
 
             cd $WORKSPACE
 
+            # messy workaround
+            git clone https://gist.github.com/4f2eb87d8c9937ee19f0.git lf_settings
+            ls -al $WORKSPACE/lf_settings
+
             # cleanup first
-            $WORKSPACE/clean.sh
+            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
+            ssh -t -t jenkins-ci@localhost "sudo $WORKSPACE/deploy.sh -base_config $WORKSPACE/lf_settings/lf_pod2_ksgen_settings.yml"