[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java http://jenkins-ci.org/commit/analysis-core-plugin/43c6179989cd318bb45eef2225ad7ec75d44ced5 Log: Revert " JENKINS-32150 Provide empty list of project actions for pipelines." This reverts commit 599fa66cb0134c22f0a9164949ca81d7635e7d8f. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java http://jenkins-ci.org/commit/analysis-core-plugin/599fa66cb0134c22f0a9164949ca81d7635e7d8f Log: JENKINS-32150 Provide empty list of project actions for pipelines. Compare: https://github.com/jenkinsci/analysis-core-plugin/compare/01ff09ec265b...599fa66cb013 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java http://jenkins-ci.org/commit/analysis-core-plugin/30a7d58bb8e156df8b30d32c917931796b43199e Log: Revert " JENKINS-32150 Provide empty list of project actions for pipelines." This reverts commit 6a00e71041c0c60fa6f52b786ea54d36ad573cc5. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java http://jenkins-ci.org/commit/analysis-core-plugin/6a00e71041c0c60fa6f52b786ea54d36ad573cc5 Log: JENKINS-32150 Provide empty list of project actions for pipelines. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Code changed in jenkins User: Ulli Hafner Path: warnings.iml http://jenkins-ci.org/commit/warnings-plugin/2d4a3538a2d2f589bff5b9dfaa23f2dd513d3b11 Log: JENKINS-32150 Provide empty list of project actions for pipelines. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Code changed in jenkins User: Ulli Hafner Path: warnings http://jenkins-ci.org/commit/analysis-suite-plugin/4588a46a2217328dd50354d464ba3d569159df92 Log: JENKINS-32150 Provide empty list of project actions for pipelines. Compare: https://github.com/jenkinsci/analysis-suite-plugin/compare/b0b48021263d...4588a46a2217 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/ParserResult.java src/test/java/hudson/plugins/analysis/core/ParserResultTest.java http://jenkins-ci.org/commit/analysis-core-plugin/cfdaa8f4b476425d505150999af4d4c34231b302 Log: [FIXED JENKINS-32150] Remove whole path before ../ Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon resolved as Fixed Jenkins / JENKINS-32150 Cannot resolve relative filenames referencing parent directory Change By: SCM/JIRA link daemon Status: Reopened Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title Anatoly Trosinenko reopened an issue Thank you very much, it works with some small exception: there seem to be problems with multiple ".." in the file name with leading "..". I have updated my installation to Jenkins 1.638, Warnings plug-in 4.52, Static Analysis Utilities 1.76. Steps to reproduce are the same, except that on the step 2 add these lines to compile-log.txt: ../directory-a/../directory-a/../directory-a/file-in-subdir.txt:1:1: warning: Warning with multiple .. in file name (leading ..) directory-a/../directory-a/../directory-a/file-in-subdir.txt:6:1: warning: Warning with multiple .. in file name What is expected: two new warnings are parsed correctly. What really happened: cannot resolve file name for the new warning with leading ".." LOG CONTENTS: мар 19, 2016 7:32:17 PM FINE hudson.plugins.analysis.core.ParserResult Building cache of all workspace files to obtain absolute filenames for all warnings: /var/lib/jenkins/workspace/Test 5 мар 19, 2016 7:32:17 PM FINE hudson.plugins.analysis.core.ParserResult Absolute filename could not be resolved for: ../multi-file-in-subdir.txt. Found multiple matches in cache: [directory-b/multi-file-in-subdir.txt, directory-a/multi-file-in-subdir.txt]. мар 19, 2016 7:32:17 PM FINE hudson.plugins.analysis.core.ParserResult Absolute filename could not be resolved for: ../directory-a/../directory-a/../directory-a/file-in-subdir.txt. Found no matches in cache: [directory-a/file-in-subdir.txt]. мар 19, 2016 7:32:17 PM FINE hudson.plugins.analysis.core.ParserResult Absolute filename could not be resolved for: ../multi-file-in-subdir.txt. Found multiple matches in cache: [directory-b/multi-file-in-subdir.txt, directory-a/multi-file-in-subdir.txt]. мар 19, 2016 7:32:17 PM FINE hudson.plugins.analysis.core.ParserResult Absolute filename could not be resolved for: multi-file-in-subdir.txt. Found multiple matches in cache: [directory-b/multi-file-in-subdir.txt, directory-a/multi-file-in-subdir.txt]. мар 19, 2016 7:32:17 PM FINE hudson.plugins.analysis.core.ParserResult Absolute filename could not be resolved for: multi-file-in-subdir.txt. Found multiple matches in cache: [directory-b/multi-file-in-subdir.txt, directory-a/multi-file-in-subdir.txt]. Jenkins / JENKINS-32150 Cannot resolve relative filenames referencing parent directory Change By: Anatoly Trosinenko Resolution:
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Code changed in jenkins User: Ulli Hafner Path: src/main/java/org/jenkinsci/test/acceptance/plugins/analysis_core/AnalysisAction.java src/main/java/org/jenkinsci/test/acceptance/plugins/analysis_core/AnalysisSettings.java src/test/java/plugins/WarningsPluginTest.java src/test/resources/warnings_plugin/jenkins-32150/compile-log.txt src/test/resources/warnings_plugin/jenkins-32150/directory-a/file-in-subdir.txt src/test/resources/warnings_plugin/jenkins-32150/directory-a/multi-file-in-subdir.txt src/test/resources/warnings_plugin/jenkins-32150/directory-a/subdir/file1 src/test/resources/warnings_plugin/jenkins-32150/directory-b/multi-file-in-subdir.txt src/test/resources/warnings_plugin/jenkins-32150/directory-b/subdir/file2 src/test/resources/warnings_plugin/jenkins-32150/file.txt http://jenkins-ci.org/commit/acceptance-test-harness/cee24aa85bec9ca281ba2762459d17e0cbe1da2b Log: JENKINS-32150 Added acceptance test that verifies resolving of paths by scanning the whole workspace. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title Ulli Hafner commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Thanks for the valuable test case! Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/ParserResult.java src/test/java/hudson/plugins/analysis/core/ParserResultTest.java http://jenkins-ci.org/commit/analysis-core-plugin/b864544a789d69fbf59e675465b83426336ebace Log: [FIXED JENKINS-32150] Remove leading relative path components to parent directories when finding files in the workspace. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title SCM/JIRA link daemon resolved as Fixed Jenkins / JENKINS-32150 Cannot resolve relative filenames referencing parent directory Change By: SCM/JIRA link daemon Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title Anatoly Trosinenko commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory In JENKINS-9463 there was proposal to use just basename to resolve relative paths and you told that it was already done in that way. I am not sure that this approach will not break anything, but if relative paths are still supposed to be resolved by basename only, then something goes wrong. PS: The message "Found multiple matches: [directory-a/file-in-subdir.txt]." seems strange. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title Ulli Hafner commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory I just asked because with make a possible solution already has been implemented for the gcc parser. That patch then just needs to be generalized. Without make I doubt that we find a solution that works in all cases. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title Ulli Hafner commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory Are you using make as build script? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title Anatoly Trosinenko commented on JENKINS-32150 Re: Cannot resolve relative filenames referencing parent directory In this example I just use prewritten lines that are parseable as LLVM warnings without any make output. Non-unique file name is for comparison only (make output parser is useful for that case as far as I know), but the report is about different handling of the same unique basename with and without "..". Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [warnings-plugin] (JENKINS-32150) Cannot resolve relative filenames referencing parent directory
Title: Message Title Anatoly Trosinenko created an issue Jenkins / JENKINS-32150 Cannot resolve relative filenames referencing parent directory Issue Type: Bug Assignee: Ulli Hafner Attachments: relative-names-bug.zip Components: warnings-plugin Created: 20/Dec/15 12:17 PM Environment: Ubuntu 15.10 64 bit, OpenJDK Jenkins 1.642 Warnings plug-in 4.51 Priority: Minor Reporter: Anatoly Trosinenko Warnings plugin cannot resolve some relative file names even if "Resolve relative paths" option is set. There are problems with names such as ../file. In that case it cannot find that file even if its name is unique across the entire workspace (but it can resolve "file" without ".." in the same build). STEPS TO REPRODUCE Create empty Git repository