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

build-info.json file missing in 3.15.0+ #614

Closed
mitchelladam opened this issue Jan 14, 2022 · 2 comments
Closed

build-info.json file missing in 3.15.0+ #614

mitchelladam opened this issue Jan 14, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mitchelladam
Copy link

Describe the bug
prior to version 3.15 after a maven build the build info was written to ./target/build-info.json this file no longer is written

To Reproduce
run any build with rtMaven, pipeline or declarative.

Expected behavior
The build-info.json file should still be available somewhere, or the publish build info step should also be able to write to a file, or write to the console

Versions

  • Jenkins Artifactory plugin version: 3.15.1
  • Jenkins operating system: docker - jenkins/jenkins:2.319.2-jdk11
  • Artifactory Version: 7.11.5

Additional context
The build info is an important part of our regulatory builds, its contents need to be part of the build log, there needs to be somewhere to retrieve this data during the build pipeline.
seems to be related to:
#610
jfrog/build-info#559

@mitchelladam mitchelladam added the bug Something isn't working label Jan 14, 2022
@Or-Geva Or-Geva self-assigned this Jan 16, 2022
@Or-Geva
Copy link

Or-Geva commented Jan 19, 2022

@mitchelladam, thank you for reporting this issue.
We are thinking of a new way to get the build-info.json during the pipeline. In the scripted syntax, a new function will be added for returning the build-info as a string. For the declarative, there will be a new closure, to enable writing the build-info.json to a file.
Our current backlog is full right now, but we will add this to our roadmap for sure. I will keep this thread updated once we get there.

@mitchelladam
Copy link
Author

we just tested the latest artifactory plugin 3.18.12 and the build-info.json is back.
no idea when it started putting it back in target/ but it's there now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants