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

durationMillis equal to 0 all the time with JF CLI #1196

Open
siamak-zanjani opened this issue Jun 19, 2024 · 0 comments
Open

durationMillis equal to 0 all the time with JF CLI #1196

siamak-zanjani opened this issue Jun 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@siamak-zanjani
Copy link

Describe the bug

The durationMillis field is always set to 0 when publishing a build using the JFrog CLI.

Current behavior

I am attempting to replace the JFrog Jenkins plugin with the JFrog CLI. However, I noticed that the durationMillis field is always set to 0 when we publish any build with the JFrog CLI. Upon inspecting the repository, I observed that the build info JSON created during the build process does not include any mechanism to set the duration of the build. In contrast, when using the Jenkins Artifactory plugin to publish builds, the durationMillis field is correctly populated.
image

Reproduction steps

No response

Expected behavior

No response

JFrog CLI-Core version

v2.53.1

JFrog CLI version (if applicable)

jf version 2.58.2

Operating system type and version

docker, linux and windows

JFrog Artifactory version

No response

JFrog Xray version

No response

@siamak-zanjani siamak-zanjani added the bug Something isn't working label Jun 19, 2024
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

1 participant