-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 1.428
The log parser plugin updates a job config with the following if the plugin is enabled for the job:
<parsingRulesPath>/apps/jenkins/master/parsing-rules/java-default.txt</parsingRulesPath>
Note the absolute path is used, even though the rules file is identified in the UI by its description, not its path.
The rules file description should be stored in the job configuration so that rules files can be moved around on disk without having to update all the job configs that use them.
- is duplicated by
-
JENKINS-8699 Plugin stores parsing rule file path, not name
-
- Resolved
-
I just got bit by this rather badly. We moved our console log parsing file on the filesystem and updated the global jenkins configuration. I assumed since the rules are chosen by name in the job config they would all be updated automatically (after all, isn't that the point of a global config?). Of course it didn't and even worse the error is not reported anywhere in the job console and doesn't cause the job to fail in any way. The only way to discover the problem was the browse to a job and check its parsed console log output which displayed the message: