summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorthmsdt <thomas.kulik@telekom.de>2023-07-06 06:32:39 +0200
committerthmsdt <thomas.kulik@telekom.de>2023-07-07 08:21:22 +0200
commit0cd037d7e834352f70652fc3a02c7b6258391f88 (patch)
tree23c8adb7ac05af591d0e95b807ed93a233080d50 /jjb
parent9991563bfeca01fd1bb347a2ed56460ec42ada4c (diff)
doc-rules: create only a WARN message if sphinx build option -W is missing (2)
Issue-ID: DOC-811 Signed-off-by: thmsdt <thomas.kulik@telekom.de> Change-Id: I1d6af2e32ba16b1092b8ac507b74f57296b42d28
Diffstat (limited to 'jjb')
-rw-r--r--jjb/doc/rules.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/jjb/doc/rules.yaml b/jjb/doc/rules.yaml
index d4fec9f46..b78c5aa46 100644
--- a/jjb/doc/rules.yaml
+++ b/jjb/doc/rules.yaml
@@ -38,6 +38,7 @@
exitstatus="0"
warning="0"
# message, begin
+ log_success_msg "INFO doc-rules Version 23-07-07-A"
log_success_msg "INFO Starting additional checks related to documentation."
log_success_msg "INFO See https://git.onap.org/doc/doc-best-practice for example config files (master branch)."
log_success_msg "INFO Modify example config files if you like to use them in a release branch."
@@ -94,8 +95,10 @@
fi
done < $filename
if [ "$sphinxbuild_detected" = "0" ]; then
- log_failure_msg "FAIL Sphinx-build command(s) missing in $filename. Please add it."
- exitstatus="1"
+ log_warning_msg "WARN Sphinx-build command(s) missing in $filename. Please add it."
+ warning="1"
+ #log_failure_msg "FAIL Sphinx-build command(s) missing in $filename. Please add it."
+ #exitstatus="1"
fi
# second tox.ini @ root directory
if [ -f ./tox.ini ] ; then