Scalac warnings plugin does not work with SBT

17 views
Skip to first unread message

Hochak Hung

unread,
May 14, 2015, 5:59:49 PM5/14/15
to jenkin...@googlegroups.com
Hi,

We recently tried to use the scalac warnings plugin here: https://github.com/jenkinsci/warnings-plugin/blob/master/src/main/java/hudson/plugins/warnings/parser/ScalacParser.java

The problem is that it does not work with the SBT warnings output, which uses the word "warn" instead of "WARNING":

[warn] /Users/hhung/project/infra/scala/services/workflow-worker/src/main/scala/com/box/worker/workflow/textextraction/TextExtractor.scala:111: method stop in class Thread is deprecated: see corresponding Javadoc for more information.
[warn]     Thread.currentThread.stop()

I would like to add a SbtScalacParser class to the parser directory.  Can I get commit access to the github repo?

Thanks,
Hochak


Ullrich Hafner

unread,
May 15, 2015, 11:00:02 AM5/15/15
to jenkin...@googlegroups.com
Please submit your changes as pull request. 
Rather than writing a new parser it may be easier to adapt the regular expression so that it can handle both formats. 

Ulli

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/31496165-ec9b-476a-9937-d191565ea0a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

signature.asc
Reply all
Reply to author
Forward
0 new messages