소스 검색

Help: provide example for HTTPHEADER option to ctest_submit

Zack Galbreath 6 년 전
부모
커밋
46c5830394
1개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 9 1
      Help/command/ctest_submit.rst

+ 9 - 1
Help/command/ctest_submit.rst

@@ -46,7 +46,15 @@ The options are:
 
 ``HTTPHEADER <HTTP-header>``
   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 <auth-token>")
+
+  This suboption can be repeated several times for multiple headers.
 
 ``RETRY_COUNT <count>``
   Specify how many times to retry a timed-out submission.