Text-finder Plugin

Plugin Information

Plugin ID text-finder
Latest Release 1.8
Latest Release Date Feb 06, 2010
Changes via Fisheye In Latest Release
Since Latest Release
Maintainer(s) Kohsuke Kawaguchi (id: kohsuke)
Santiago Pericas-Geertsen (id: n/a)
Issue Tracking Open Issues

This plugin lets you search keywords in the files you specified and use that to mark the build as success or a failure.

This is handy when you have some tools in your build chain that doesn't use the exit code properly.

Change Log

Version 1.8 (Feb 6, 2010)
  • Update code for more recent Hudson
Verion 1.7 (May 4, 2009)
Version 1.6 (Nov 6, 2008)
  • Modified to work with all job types, including Maven2 jobs.
Version 1.5
  • Added "Unstable if found" configuration option.  Use this option to set build unstable instead of failing the build.  Default is off (previous behavior).

Labels:

plugin-post-build plugin-post-build Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Oct 26, 2009

    Leo Hart says:

    Does this support multi-line regex searches? For instance, if the console had: ...

    Does this support multi-line regex searches?

    For instance, if the console had:

    [hibernatetool] 1. task: hbm2ddl (Generates database schema)
    log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
    log4j:WARN Please initialize the log4j system properly.
    alter table account_statement_address add constraint FK612CAF92BE9E69AE foreign key (account_id) references account
    alter table account_statement_address add constraint FK612CAF9212A012FF foreign key (party_geographic_address_id) references party_geographic_address
    alter table statement_copy_addr add constraint FKBBB86BABBE9E69AE foreign key (account_id) references account
    alter table statement_copy_addr add constraint FKBBB86BAB12A012FF foreign key (party_geographic_address_id) references party_geographic_address
    [INFO] Executed tasks
    

    and I provided a regex of:

    log4j:WARN Please initialize the log4j system properly\.\n(.\|\n){1,}\[INFO\] Executed tasks
    

    to get the output of hbm2dll.

  2. Nov 04, 2009

    bazthemail says:

    Would you please provide an example on how to search multiple strings from the c...

    Would you please provide an example on how to search multiple strings from the console log? For example, search for three keywords: "^Error:", "FATAL ERROR", and "ERRORE:". I tried and without succeed.