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.timestamp artifacts property should be equal for all artifacts in Build Modules #2278

Open
gitta-jfrog opened this issue Oct 22, 2023 · 2 comments · Fixed by jfrog/build-info-go#209
Labels
bug Something isn't working

Comments

@gitta-jfrog
Copy link

gitta-jfrog commented Oct 22, 2023

Describe the bug

In case you deploy a build that involves more than one technology, each technology gets its own module.
Following the artifacts published, each module artifact's 'build.timestamp' property will be equal to the start time of the module.

This results in different 'build. timestamp' properties which are not the same as the build started time and cause Artifactory to not match the artifacts to the build info.

Current behavior

Artifacts of different modules get deployed with different 'build.timestamp' property

Reproduction steps

jf rt u abc.txt generic-lcoal/ --build-name cli-test --build-number 21
jf mvn clean install -f pom.xml --build-name cli-test --build-number 21
jf rt bp cli-test 21

Under "Published Modules" the artifacts will not be available (click on the module id and you can see that the repo patch for one technology will be null), although they are uploaded to Artifactory as expected.

image

see https://jfrog.atlassian.net/browse/RTFACT-30040

Expected behavior

The 'build.timestamp' should be equal for all artifacts in Build Modules

JFrog CLI version

2.50.1

Operating system type and version

Mac

JFrog Artifactory version

7.68.14

JFrog Xray version

NA

@gitta-jfrog gitta-jfrog added the bug Something isn't working label Oct 22, 2023
@attiasas
Copy link
Contributor

Hi @gitta-jfrog,

Thank you for reporting this issue. After investigating the problem, I found that it is related to Maven and Gradle. We inadvertently used the buildstarted timestamp instead of the general timestamp. You can track the progress of the fix at jfrog/build-info-go#209.

@attiasas
Copy link
Contributor

attiasas commented Nov 8, 2023

Hi @gitta-jfrog,

CLI version v2.51.0 has been released, and it includes the fix. Could you please verify that the problem has been resolved and let me know if there are any other issues? Thank you.

@attiasas attiasas linked a pull request Nov 8, 2023 that will close this issue
4 tasks
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

Successfully merging a pull request may close this issue.

2 participants