Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26637

naginator doesn't apply regexp to multi-configuration child builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: naginator-plugin
    • Labels:
      None
    • Environment:
      naginator-plugin: 1.14
      previous naginator plugin installed: 1.12 SNAPSHOT (private 09/27/2014 20:38 schristou88)
      Jenkins Version: Jenkins ver. 1.580.2.1
    • Similar Issues:

      Description

      I have a dummy matrix build that has a shell script that echo's out ERROR and return's 1.

      I have the naginator plugin configured for this project to retry if ERROR is found in the output.

      It does not look like the naginator plugin is even running at all.

      (The same naginator configuration works fine for a free style project... naginator will re-kick the build, but it doesn't work for a matrix job.)

      I've tried both checking and unchecking "Rerun build only for failed parts on the matrix", but it does not seem to do anything.

      Am I doing something wrong here? I've attached a config.xml which demostrates the problem.

        Attachments

          Activity

          Hide
          agarnier Arthur Garnier added a comment -

          Hi ! Same problem for me, I would like to rerun only failed/unstable which contains "UNSTABLE", but this param is skipped ?
          All failed/unstable build run again...

          Show
          agarnier Arthur Garnier added a comment - Hi ! Same problem for me, I would like to rerun only failed/unstable which contains "UNSTABLE", but this param is skipped ? All failed/unstable build run again...
          Hide
          aviv_yam Aviv Yam added a comment - - edited

          same issue for me. it seems that a regex filter is not supported in matrix configuration. Work OK on freestyle project though.
          Jenkins LTS, naginator 1.15

          Show
          aviv_yam Aviv Yam added a comment - - edited same issue for me. it seems that a regex filter is not supported in matrix configuration. Work OK on freestyle project though. Jenkins LTS, naginator 1.15
          Hide
          agarnier Arthur Garnier added a comment -

          Hi Aviv,

          I forked the Naginator Plugin on my Github : https://github.com/Neo-Burner/naginator-plugin
          I add this functionnality, you can build the extension by disable Maven's tests. I use it and it works

          Show
          agarnier Arthur Garnier added a comment - Hi Aviv, I forked the Naginator Plugin on my Github : https://github.com/Neo-Burner/naginator-plugin I add this functionnality, you can build the extension by disable Maven's tests. I use it and it works
          Show
          ikedam ikedam added a comment - https://github.com/jenkinsci/naginator-plugin/pull/21
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          pom.xml
          src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java
          src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherScheduleAction.java
          src/main/resources/com/chikli/hudson/plugin/naginator/NaginatorPublisher/config.jelly
          src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java
          src/test/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherTest.java
          src/test/java/com/chikli/hudson/plugin/naginator/testutils/MyBuilder.java
          http://jenkins-ci.org/commit/naginator-plugin/82ff6a07f300b0795b83e310b7b51e8f7edeb5ef
          Log:
          Merge pull request #21 from ikedam/feature/regexpForMatrixChildren

          [FIXED JENKINS-26637] Allow regexp applied for matrix children logs

          Compare: https://github.com/jenkinsci/naginator-plugin/compare/6b07b088edcd...82ff6a07f300

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherScheduleAction.java src/main/resources/com/chikli/hudson/plugin/naginator/NaginatorPublisher/config.jelly src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java src/test/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherTest.java src/test/java/com/chikli/hudson/plugin/naginator/testutils/MyBuilder.java http://jenkins-ci.org/commit/naginator-plugin/82ff6a07f300b0795b83e310b7b51e8f7edeb5ef Log: Merge pull request #21 from ikedam/feature/regexpForMatrixChildren [FIXED JENKINS-26637] Allow regexp applied for matrix children logs Compare: https://github.com/jenkinsci/naginator-plugin/compare/6b07b088edcd...82ff6a07f300
          Hide
          ikedam ikedam added a comment -

          Fixed in 1.16.
          It will be available in the update center in a day.
          Please try that.

          Show
          ikedam ikedam added a comment - Fixed in 1.16. It will be available in the update center in a day. Please try that.

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              grayaii Alex Gray
            • Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: