Post build task plugin: Passing arguments does not work as documented

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: postbuild-task-plugin
    • None
    • Environment:
      Jenkins ver. 1.454
      Windows

      The plugin info says:

      References %1, .. %n are allowed, and will be replaced by the groups matched by the Regex. %0 is the whole match.

      The documentation says:

      If the text is "Total time: (\d+)" and the script is "script.sh", then if the log contains a line "Total time: 10", the "script.sh 4" will be called.

      Neither works. When using %0, %1 etc., %0 becomes the path to a temporary batch file that seems to be used to call the script, e.g., C:\Users\<User>\AppData\Local\Temp\hudson2844785260200969554.bat.

            Assignee:
            Unassigned
            Reporter:
            Marco Eckstein
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: