From 46c5830394fc38c6c23cb5ba58efec69b90b33f5 Mon Sep 17 00:00:00 2001 From: Zack Galbreath Date: Thu, 7 Mar 2019 09:44:45 -0500 Subject: Help: provide example for HTTPHEADER option to ctest_submit --- Help/command/ctest_submit.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Help/command/ctest_submit.rst b/Help/command/ctest_submit.rst index fba03fd586..ca9d058fb8 100644 --- a/Help/command/ctest_submit.rst +++ b/Help/command/ctest_submit.rst @@ -46,7 +46,15 @@ The options are: ``HTTPHEADER `` Specify HTTP header to be included in the request to CDash during submission. - This suboption can be repeated several times. + For example, CDash can be configured to only accept submissions from + authenticated clients. In this case, you should provide a bearer token in your + header: + + :: + + ctest_submit(HTTPHEADER "Authorization: Bearer ") + + This suboption can be repeated several times for multiple headers. ``RETRY_COUNT `` Specify how many times to retry a timed-out submission. -- cgit v1.2.1