[JIRA] (JENKINS-58828) Fails to find files checked out to subdirectory when resolving relative paths

6 views
Skip to first unread message

Simon.Richter@hogyros.de (JIRA)

unread,
Aug 6, 2019, 9:55:02 AM8/6/19
to jenkinsc...@googlegroups.com
Simon Richter created an issue
 
Jenkins / Bug JENKINS-58828
Fails to find files checked out to subdirectory when resolving relative paths
Issue Type: Bug Bug
Assignee: Ulli Hafner
Components: warnings-ng-plugin
Created: 2019-08-06 13:54
Priority: Minor Minor
Reporter: Simon Richter

I check out a project from git into a subdirectory "src".

The compiler generates paths relative to this directory, and the path name resolver cannot create an absolute path for these warnings, so no source code context can be shown.

It would be nice if I could configure a search path for resolving relative names.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ullrich.hafner@gmail.com (JIRA)

unread,
Aug 6, 2019, 2:59:02 PM8/6/19
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Aug 6, 2019, 3:00:03 PM8/6/19
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Aug 6, 2019, 3:02:02 PM8/6/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Bug JENKINS-58828
 
Re: Fails to find files checked out to subdirectory when resolving relative paths

It will work if the warnings step is invoked within the same dir block. Otherwise see duplicate issues.

Simon.Richter@hogyros.de (JIRA)

unread,
Aug 7, 2019, 5:33:02 AM8/7/19
to jenkinsc...@googlegroups.com

This is a freestyle project, not a pipeline.

The Source Code Management section has a Git checkout with a "Check out to a sub-directory" modifier, and the Warnings plugin is configured in Post-Build actions.

Reply all
Reply to author
Forward
0 new messages