From 6f8915475c88c38c7a5874374d303b6f9fae1cbb Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Tue, 8 Dec 2015 11:06:30 +0000 Subject: [PATCH] #1041 Adding jenkins_daily.sh to build CMake/msvc --- jenkins_daily.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 jenkins_daily.sh diff --git a/jenkins_daily.sh b/jenkins_daily.sh new file mode 100755 index 00000000..e3f65ccc --- /dev/null +++ b/jenkins_daily.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +## +# jenkins_daily.sh +# +# environment variables (all optional) +# JENKINS : URL of jenkins server. Default http://exiv2.dyndns.org:8080 +## +if [ -z "$JENKINS" ]; then export JENKINS=http://exiv2.dyndns.org:8080; fi + +export EXIV2=$(cygpath -aw .) +rm -rf $PWD/../build +mkdir $PWD/../build +PATH=$PATH:/cygdrive/c/Windows/System32:/cygdrive/c/gnu/exiv2/trunk/contrib/ +cmd.exe /c "cd $(cygpath -aw ./../build) && vcvars 2015 64 && set && cmakeBuild --rebuild --test" +result=$? + +set -v +# That's all Folks! +## +exit $result