JIRA: OCTO-47
Change-Id: I2eded2a5bae45669109f6b6aa92b60012d930d35
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
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"