Skip to content
Permalink
Browse files

set TZ to UTC for Orfeo cdash

  • Loading branch information
3nids authored and nyalldawson committed Feb 8, 2021
1 parent c3fbed7 commit 93b1c44ac0ff0f64afd7787250a3de9f7dd30d33
Showing with 2 additions and 2 deletions.
  1. +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

0 comments on commit 93b1c44

Please sign in to comment.