Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Plugin Information

View Post build task on the plugin site for more information.

This plugin allows the user to execute a shell/batch task depending on the build log output.

This feature allows user to associate shell or a batch scripts that perform some tasks on Hudson depending on the build log output.If the log text matches some where in the build log file, the script will execute.Java Regex are allowed, and groups can be used as script parameters.
ex: if "IOException" if specified in the log text, and if the build log file contains the string "IOException", the script will execute.

Usage

When you install this plugin, your project configuration page gets additional "Post build task" option as illustrated below:

The Post build task consists of a log text and a script.It check for a matching log text string in the build out put log. If a match occurs,it executes the script and the post build log will append to the project build log.
Ex : If the text is "Last Build : #(\d+)" and the script is "script.sh %1", then if the log contains a line "Last Build : #4", the script will be called as "script.sh 4".

Post build task plugin

Changelog

Version 1.3 (2009/08/26)

  • Added regex option for log text

Version 1.1 (2009/08/26)

  • initial version
  • No labels