aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-08-19 10:00:00 +0200
committerRechi <Rechi@users.noreply.github.com>2018-08-19 10:00:00 +0200
commit3328a0b9432b9b4bc2398c50c65a360264eb8664 (patch)
tree237d42e9ab699f3b839e33760639886d084df407
parentb2ffb27a88d522b92c630d362d997aa3afb0551e (diff)
[jenkins] fix rebuild detection
build type has to be considered, as it also changes depends prefix
-rw-r--r--tools/buildsteps/defaultenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildsteps/defaultenv b/tools/buildsteps/defaultenv
index 14267825c6..cd11615ad0 100644
--- a/tools/buildsteps/defaultenv
+++ b/tools/buildsteps/defaultenv
@@ -101,7 +101,7 @@ fi
#helper functions
-#hash a dir based on the git revision, SDK_PATH, NDK_PATH, NDK_VERSION, SDK_VERSION, TOOLCHAIN and XBMC_DEPENDS_ROOT
+#hash a dir based on the git revision, Configuration, SDK_PATH, NDK_PATH, NDK_VERSION, SDK_VERSION, TOOLCHAIN and XBMC_DEPENDS_ROOT
#param1 path to be hashed
function getBuildHash ()
{
@@ -109,7 +109,7 @@ function getBuildHash ()
checkPath="$1"
local hashStr
hashStr="$(git rev-list HEAD --max-count=1 -- $checkPath)"
- hashStr="$hashStr $SDK_PATH $NDK_PATH $NDK_VERSION $SDK_VERSION $TOOLCHAIN $XBMC_DEPENDS_ROOT $XCODE_APP"
+ hashStr="$hashStr $Configuration $SDK_PATH $NDK_PATH $NDK_VERSION $SDK_VERSION $TOOLCHAIN $XBMC_DEPENDS_ROOT $XCODE_APP"
echo $hashStr
}