开发者

Compiler warnings plugin: Fileset excludes

开发者 https://www.devze.com 2023-01-09 17:55 出处:网络
We are using Hudson as our build machine and I am trying to configure the excludes fileset for the Compilier Warning开发者_StackOverflow社区s plugin. Hudson parses the build log to determine warnings/

We are using Hudson as our build machine and I am trying to configure the excludes fileset for the Compilier Warning开发者_StackOverflow社区s plugin. Hudson parses the build log to determine warnings/errors and our Clover scripts output duplicates of real warnings.

As documented by Hudson you can configure an ANT fileset to exclude certain warnings:

  Warnings to ignore:: Fileset 'excludes' setting that specifies the warnings to exclude from the report (based on their filename).

I am getting the following warnings (duplicates):

C:/vsfz/temp/1/clover1710786373818922904.tmp/src4952837385592305293.tmp/corp/app/path
....

I have set the excludes fileset to:

*vsfz/temp/*/clover*/**

I expected the Fileset to match the warnings and for them not be added to the Compiler Warnings report, this is not the case. Does anyone see a problem with the above Fileset definition?


Try something like:

C:/vsfz/temp/*/clover*/**

or

**/vsfz/temp/*/clover*/**

another problem might be that clover* doesn't match correctly so that you have to write it as clover*.* but I don't think this is the issue.


I was just messing with this today and I could only get it to work when I specified the file extension*.csor maybe *.* would work?

anyway **/old*/**/*.cs worked for me.

Hope this helps.


I managed to get this going (it has been on the back burner for quite some time now).

The template that I ended up using:

**/temp/**
0

精彩评论

暂无评论...
验证码 换一张
取 消