You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2020/01/09 16:18:00 UTC

[jira] [Commented] (HDDS-2859) Hugo error should be propagated to build

    [ https://issues.apache.org/jira/browse/HDDS-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012008#comment-17012008 ] 

Attila Doroszlai commented on HDDS-2859:
----------------------------------------

Currently Hugo is not installed in the ozone-build image, so CI still cannot catch syntax errors.

{code}
[INFO] --- exec-maven-plugin:1.6.0:exec (default) @ hadoop-hdds-docs ---
which: no hugo in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/findbugs/bin:/opt/maven/bin:/opt/ant/bin:/opt/blockade/bin)
Hugo is not yet installed. Doc generation is skipped.
{code}

> Hugo error should be propagated to build
> ----------------------------------------
>
>                 Key: HDDS-2859
>                 URL: https://issues.apache.org/jira/browse/HDDS-2859
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: build
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> Currently build is successful even if {{hugo}} encounters error.  Example:
> {code}
> Error: Error building site: "hadoop-hdds/docs/content/start/_index.zh.md:39:119": unterminated quoted string in shortcode parameter-argument: 'start
> '
> ...
> [INFO] BUILD SUCCESS
> {code}
> The error itself is [being fixed|https://github.com/apache/hadoop-ozone/pull/417/files#diff-3553ca3378ab646dea469e6a1c58c100] in HDDS-2726.  However, it would be nice to make such a Hugo error result in failed build, so that such issues can be caught by CI.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org