set -x
cd $WORKSPACE
- ls -al
+
+ # fix PATH
+ export PATH=/usr/sbin:$PATH
+ echo $PATH
+
+ # messy workaround
+ git clone https://gist.github.com/4f2eb87d8c9937ee19f0.git lf_settings
+ ls -al $WORKSPACE/lf_settings
+
+ # cleanup first
+ ssh -t -t jenkins-ci@localhost "sudo $WORKSPACE/clean.sh -base_config $WORKSPACE/lf_settings/lf_pod2_ksgen_settings.yml"
+
+ # and then initiate deployment
+ ssh -t -t jenkins-ci@localhost "sudo $WORKSPACE/deploy.sh -base_config $WORKSPACE/lf_settings/lf_pod2_ksgen_settings.yml"