mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
set TZ to UTC for Orfeo cdash
This commit is contained in:
parent
c3fbed7e2a
commit
93b1c44ac0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user