From 394f3515e6921612e2f6ff4d54985c70b4f3b904 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Mon, 12 Aug 2013 16:00:11 -0400 Subject: [PATCH] jenkins: ensure clean workspace --- jenkins-sflphone-android.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jenkins-sflphone-android.sh b/jenkins-sflphone-android.sh index 89bea2f95..42bdc9802 100755 --- a/jenkins-sflphone-android.sh +++ b/jenkins-sflphone-android.sh @@ -107,6 +107,10 @@ launch_emulator() { } build_sflphone_android() { + echo "Cleaning git tree" + # get rid of any local modifications to git submodule + git submodule update + git clean -dfx # android update project --target $VIRTUAL_DEVICE_ID --path $ANDROID_PROJECT_PATH echo "Compile pjandroid stack" pushd jni/pjproject-android/ -- GitLab