Add the build number to CTEST_BUILD_NAME to differenciate builds on dashboard

This commit is contained in:
Julien Malik 2016-04-25 17:50:21 +02:00
parent c559c62853
commit 204044e3a8
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ if [ "${TRAVIS_BRANCH:-}" == "" ]; then
fi
fi
OPJ_BUILDNAME=${OPJ_OS_NAME}-${OPJ_CC_VERSION}-${OPJ_CI_ARCH}-${TRAVIS_BRANCH}
OPJ_BUILDNAME=${OPJ_OS_NAME}-${OPJ_CC_VERSION}-${OPJ_CI_ARCH}-${TRAVIS_BRANCH}-build${TRAVIS_BUILD_NUMBER:-}${APPVEYOR_BUILD_NUMBER:-}
OPJ_BUILDNAME_TEST=${OPJ_OS_NAME}-${OPJ_CC_VERSION}-${OPJ_CI_ARCH}
if [ "${TRAVIS_PULL_REQUEST:-}" != "false" ] && [ "${TRAVIS_PULL_REQUEST:-}" != "" ]; then
OPJ_BUILDNAME=${OPJ_BUILDNAME}-pr${TRAVIS_PULL_REQUEST}