src+tools: use segment fetcher start
jenkins: re-compile ChronoSync on ndn-cxx change
refs: #4464
Change-Id: Ia627e00b8f13bad0068e213a6019f62a84cad41a
diff --git a/.jenkins.d/02-chronosync.sh b/.jenkins.d/02-chronosync.sh
index 82145f6..b798776 100755
--- a/.jenkins.d/02-chronosync.sh
+++ b/.jenkins.d/02-chronosync.sh
@@ -18,6 +18,13 @@
fi
fi
+NDN_CXX=$(ndnsec version)
+OLD_NDN_CXX=$(cat ndn_cxx_chrono.txt || :)
+if [[ $OLD_NDN_CXX != $NDN_CXX ]]; then
+ echo "$NDN_CXX" > ndn_cxx_chrono.txt
+ INSTALLED_VERSION=NONE
+fi
+
if [[ -z $INSTALLED_VERSION ]]; then
INSTALLED_VERSION=$(git -C ChronoSync rev-parse HEAD 2>/dev/null || echo NONE)
fi