Paul Allen created TIKA-4478:
--------------------------------

             Summary: Jenkinsfile type support
                 Key: TIKA-4478
                 URL: https://issues.apache.org/jira/browse/TIKA-4478
             Project: Tika
          Issue Type: Improvement
            Reporter: Paul Allen


Add mime detection for Jenkinsfile type.

 

Currently I use a custom-mimetypes.xml with:
{code:java}
<mime-type type="text/x-jenkinsfile">
    <_comment>Jenkinsfile</_comment>
    <glob pattern="Jenkinsfile"/>
</mime-type> {code}
There might be a better way to detect the content, but Jenkinsfiles can have 
pipeline or script syntax.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to