Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix For Folder Parser #294

Open
traarttra opened this issue May 20, 2023 · 4 comments
Open

Fix For Folder Parser #294

traarttra opened this issue May 20, 2023 · 4 comments
Assignees
Labels

Comments

@traarttra
Copy link

path.append(FOLDER_NAME_PREFIX).append(folder).append(FOLDER_NAME_SEPARATOR);

Hello!

The following code needs to be removed

.append(FOLDER_NAME_PREFIX)

Because with him "view/Folder" -> "job/view/job/Folder/"

@cdancy
Copy link
Owner

cdancy commented May 24, 2023

@traarttra this is the first I've seen this pop and this code has been in place for quite a while now. Do you have an example on how this is failing for you?

@traarttra
Copy link
Author

Sure!
Job is stored in view in the following path:
http://jenkins.host/jenkins/view/IB/view/Jobs%20In%20View/job/job_in_view/

For example, I get information about a job like this:
image

After parsing the path, I get this output:
image

This way I get incorrect parsing of the directory, since "job" is added before each slash

@traarttra
Copy link
Author

@cdancy, hi!
R U fix this problem or not?

@cdancy
Copy link
Owner

cdancy commented Mar 25, 2024

@traarttra I have not. If you'd like to send in a PR I'd be happy to review and look things over.

@martinda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants