diff --git a/ci/cscs/dashboard-configure-build.cmake b/ci/cscs/dashboard-configure-build.cmake index 419adb6f2..9f2cb35a0 100644 --- a/ci/cscs/dashboard-configure-build.cmake +++ b/ci/cscs/dashboard-configure-build.cmake @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.20) +set(DASHBOARD_PROJECT "IPPL") + if(NOT DEFINED BUILD_TYPE) set(BUILD_TYPE Debug) endif() @@ -12,9 +14,8 @@ if(NOT DEFINED BUILD_DIR) message(FATAL_ERROR "BUILD_DIR must be defined") endif() -if(NOT DEFINED TEST_INFO) - set(TEST_INFO "build") -endif() +# The full build name here gets overwritten in test phase, so leave this blank for now +set(TEST_INFO "") # --- CDash metadata --- set(CTEST_SITE "${CTEST_SITE}") @@ -97,3 +98,15 @@ if(configure_result OR build_result) # make sure to fail the build if configure or build failed message(FATAL_ERROR "CTest reported configure/build failures") endif() + +string(ASCII 27 ESC) +set(BLUE "${ESC}[34m") +set(RESET "${ESC}[0m") +message("${BLUE}# ---------------------------------${RESET}") +message("${BLUE}To view ALL configure/build/test results and error logs visit: ${RESET}") +message("${BLUE}https://my.cdash.org/index.php?project=${DASHBOARD_PROJECT}${RESET}") +message("${BLUE}For this PR visit: ${RESET}") +message( + "${BLUE}https://my.cdash.org/index.php?project=${DASHBOARD_PROJECT}&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=${CDASH_LABEL}${RESET}" +) +message("${BLUE}# ---------------------------------${RESET}") diff --git a/ci/cscs/dashboard-test.cmake b/ci/cscs/dashboard-test.cmake index 9e5ff912f..c1b1e0f8f 100644 --- a/ci/cscs/dashboard-test.cmake +++ b/ci/cscs/dashboard-test.cmake @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.20) +set(DASHBOARD_PROJECT "IPPL") + if(NOT DEFINED BUILD_TYPE) set(BUILD_TYPE Debug) endif() @@ -36,3 +38,15 @@ ctest_submit() if(test_result) message(FATAL_ERROR "CTest reported test failures") endif() + +string(ASCII 27 ESC) +set(BLUE "${ESC}[34m") +set(RESET "${ESC}[0m") +message("${BLUE}# ---------------------------------${RESET}") +message("${BLUE}To view ALL configure/build/test results and error logs visit: ${RESET}") +message("${BLUE}https://my.cdash.org/index.php?project=${DASHBOARD_PROJECT}${RESET}") +message("${BLUE}For this PR visit: ${RESET}") +message( + "${BLUE}https://my.cdash.org/index.php?project=${DASHBOARD_PROJECT}&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=${CDASH_LABEL}${RESET}" +) +message("${BLUE}# ---------------------------------${RESET}")