Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
set TZ to UTC for Orfeo cdash
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
.ci/config.ctest
|
@@ -52,8 +52,8 @@ ctest_start(Experimental) |
|
|
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE BUILDRES NUMBER_WARNINGS NUMWARN NUMBER_ERRORS NUMERR) |
|
|
|
|
|
# Create link to test results |
|
|
# CDash on OTB requires the date to be set for the search to work and that's the timezone this requires |
|
|
SET(ENV{TZ} "UTC-6") |
|
|
# CDash on OTB requires the date to be set for the search to work (used to be UTC-6, seems to be UTC now) |
|
|
SET(ENV{TZ} "UTC") |
|
|
EXECUTE_PROCESS(COMMAND date +%Y-%m-%d OUTPUT_VARIABLE CDASH_DATE) |
|
|
SET(RESULT_LINK "http://cdash.orfeo-toolbox.org/index.php?project=QGIS&filtercount=1&showfilters=1&field1=buildname/string&compare1=63&value1=$ENV{CTEST_BUILD_NAME}&date=${CDASH_DATE}") |
|
|
EXECUTE_PROCESS(COMMAND curl --data-urlencode "url=${RESULT_LINK}" -s http://tinyurl.com/api-create.php |
|
|