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

org.jfrog.build.extractor.builder.ArtifactBuilder does not return localPath info from build method #603

Open
jimjaeger opened this issue Jan 13, 2022 · 1 comment
Labels
bug Create a report to help us improve

Comments

@jimjaeger
Copy link

Describe the bug
The ArtifactBuilder has a method to set the localPath info but creates an artifact with null localPath info because the information is not used in build method.

https://github.com/jfrog/build-info/blob/master/build-info-extractor/src/main/java/org/jfrog/build/extractor/builder/ArtifactBuilder.java#L33

To Reproduce
assertTrue new ArtifactBuilder("test).setLocalPath("sample").build().getLocalPath != null

Expected behavior
provided information is used in build method and provided in created artifact object

Versions

  • Extractor version: latest version
  • Operating system: not related
  • Artifactory Version: not related
@jimjaeger jimjaeger added the bug Create a report to help us improve label Jan 13, 2022
@jimjaeger
Copy link
Author

Here a fix recommendation: #604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Create a report to help us improve
Projects
None yet
Development

No branches or pull requests

1 participant