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

console-parser should get the parsing rules directly from a textbox in the project config

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Current configuration option of log-parser has lots of issues:

      • hard to maintain
      • doesn't work with slaves
      • doesn't work if you do not have shell access to the hudson server
      • doesn't work if you want to transfer(copy) jobs from one server to another

      This is a request to include the parsing configuration inside the job configuration in a text box.

        Attachments

          Activity

          Hide
          jborghi jborghi added a comment -

          Variables aren't expanded, but more importantly, Hudson needs to know if it should read the file from the slave or master. Currently reads from the master only.

          I was thinking to have the file read from the slave, via workspace root for relative paths, if it is a project specific configuration. For global configs, they will be read from the master. Seem ok?

          Show
          jborghi jborghi added a comment - Variables aren't expanded, but more importantly, Hudson needs to know if it should read the file from the slave or master. Currently reads from the master only. I was thinking to have the file read from the slave, via workspace root for relative paths, if it is a project specific configuration. For global configs, they will be read from the master. Seem ok?
          Hide
          johnstosh John Muczynski added a comment -

          Thanks for asking. Yes it seems ok. I never thought of doing it that way. It sounds like something comprehensive that is sure to cover the needs of all.

          (I got log parsing running on my Jenkins slaves this afternoon. Almost all the rules are set up. After some 6-hour jobs run, I'll see if any more messages need to be suppressed. The web page for viewing the console log is impressive. Easy to use and intuitive.)

          I'm using a lot of svn:include properties, so handling data shared by several jobs is usually accomplished with an svn:include. If I could specify a workspace file for parsing rules, then I would use Ant concat to put together the rule file contents.

          I like how some of the other configuration sections report with a red message when Jenkins doesn't see the file at the workspace path the user specified. Is this hard to implement?

          Show
          johnstosh John Muczynski added a comment - Thanks for asking. Yes it seems ok. I never thought of doing it that way. It sounds like something comprehensive that is sure to cover the needs of all. (I got log parsing running on my Jenkins slaves this afternoon. Almost all the rules are set up. After some 6-hour jobs run, I'll see if any more messages need to be suppressed. The web page for viewing the console log is impressive. Easy to use and intuitive.) I'm using a lot of svn:include properties, so handling data shared by several jobs is usually accomplished with an svn:include. If I could specify a workspace file for parsing rules, then I would use Ant concat to put together the rule file contents. I like how some of the other configuration sections report with a red message when Jenkins doesn't see the file at the workspace path the user specified. Is this hard to implement?
          Hide
          attune sudalai kumar added a comment -

          hi

          Show
          attune sudalai kumar added a comment - hi
          Hide
          johnstosh John Muczynski added a comment -

          Hi Sudalai,

          Nice to see you're working on this. How do you plan to implement it?

          Kind Regards,
          -John

          Show
          johnstosh John Muczynski added a comment - Hi Sudalai, Nice to see you're working on this. How do you plan to implement it? Kind Regards, -John
          Hide
          weakcamel Waldek M added a comment - - edited

          Seems like Sudulai gave up .
          Wish I knew how to work with the plugins enough to help out here...

          Show
          weakcamel Waldek M added a comment - - edited Seems like Sudulai gave up . Wish I knew how to work with the plugins enough to help out here...

            People

            • Assignee:
              attune sudalai kumar
              Reporter:
              ssbarnea Sorin Sbarnea
            • Votes:
              33 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: