You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Basil Peace (JIRA)" <ji...@apache.org> on 2019/03/24 11:52:00 UTC

[jira] [Created] (GROOVY-9057) Groovydoc should set exit code on errors

Basil Peace created GROOVY-9057:
-----------------------------------

             Summary: Groovydoc should set exit code on errors
                 Key: GROOVY-9057
                 URL: https://issues.apache.org/jira/browse/GROOVY-9057
             Project: Groovy
          Issue Type: Bug
          Components: GroovyDoc
    Affects Versions: 2.5.2, 3.0.0-alpha-3
            Reporter: Basil Peace


Whenever the error occurs, GroovyDoc just reportsĀ it:
{code:java}
ERROR [org.codehaus.groovy.tools.groovydoc.GroovyRootDocBuilder] ignored due to RecognitionException: a/Test.java [expecting EOF, found '}']{code}
and exits with success.

Whenever error occurs, GroovyDoc should set exit code so that whoever called Groovydoc could handle the failure, e.g. stop the build.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)