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

JFrog Job Summary is not displayed #182

Closed
gadamsettie2 opened this issue Aug 14, 2024 · 9 comments · Fixed by #194
Closed

JFrog Job Summary is not displayed #182

gadamsettie2 opened this issue Aug 14, 2024 · 9 comments · Fixed by #194
Assignees
Labels
bug Something isn't working

Comments

@gadamsettie2
Copy link

Describe the bug

When I was using initially the v4 version with sha code 8bab65d, it used to display the Jfrog Job Summary and now it no longer displays.

Current behavior

With the latest sha codes (26532cd, 105617d) probably with the minor patches, the job summary no longer displays. I thought this is a nice cool UI intuitive information.

Reproduction steps

No response

Expected behavior

No response

Setup JFrog CLI version

v4

JFrog CLI version

v4

Workflow operating system type and version

Windows

JFrog Artifactory version (if relevant)

No response

JFrog Xray version (if relevant)

No response

@gadamsettie2 gadamsettie2 added the bug Something isn't working label Aug 14, 2024
@jpdavis-prof
Copy link

I'm curious about this as well. It sure was handy.

@EyalDelarea
Copy link
Contributor

Hi @gadamsettie2,

Thank you for reporting this issue!

Could you please share more details about the runner you're using? what specific image?

Additionally, could you try manually setting the disable-job-summary flag to false in the setup-cli action like this:

- uses: jfrog/setup-jfrog-cli@v4
  with:
    disable-job-summary: false

This information will help us resolve the issue more quickly.

@EyalDelarea EyalDelarea self-assigned this Aug 21, 2024
@gadamsettie2
Copy link
Author

@EyalDelarea ,

I am running these on a self-hosted windows azure VMs (Windows Server 2022 Datacenter version 21H2 & Windows Server 2019 Datacenter).

I have added disable-job-summary flag as true and false. The job summary is not displayed.

Thanks!

@EyalDelarea EyalDelarea linked a pull request Sep 2, 2024 that will close this issue
2 tasks
@EyalDelarea EyalDelarea reopened this Sep 2, 2024
@EyalDelarea
Copy link
Contributor

Hey @gadamsettie2, @jpdavis-prof

We've just released a new version v4.3.1 which should fix this issue.
Please let us know if it resolved the issue for you.

@maikelvdh
Copy link

@EyalDelarea not sure if it is related, but I am seeing now the following error in the post step:

  Error: 9 [Error] failed to get server URL or major version: error extracting server details: platform URL is mandatory for access token creation. This means markdown URLs will be invalid
  Warning: failed while attempting to generate job summary: Error: The process '/opt/hostedtoolcache/jf/2.66.0/x64/jf' failed with exit code 1

Should this be made more robust?

@EyalDelarea
Copy link
Contributor

@EyalDelarea not sure if it is related, but I am seeing now the following error in the post step:

  Error: 9 [Error] failed to get server URL or major version: error extracting server details: platform URL is mandatory for access token creation. This means markdown URLs will be invalid
  Warning: failed while attempting to generate job summary: Error: The process '/opt/hostedtoolcache/jf/2.66.0/x64/jf' failed with exit code 1

Should this be made more robust?

Hey @maikelvdh ,
It is not related, but you are welcome to open a new issue with this
and please share your setup action code and will try to solve it quickly.

@gadamsettie2
Copy link
Author

@EyalDelarea ,

Thanks for fixing the issue. It is now displaying the job summary however, I do see the following error in the post setup Jfrogcli step.

image

This error wasn't there earlier versions.

Thanks,
Sagar

@EyalDelarea
Copy link
Contributor

@EyalDelarea ,

Thanks for fixing the issue. It is now displaying the job summary however, I do see the following error in the post setup Jfrogcli step.

image This error wasn't there earlier versions.

Thanks, Sagar

Here's a rephrased version of your message:


Hi @gadamsettie2,

I'm glad to hear the issue has been resolved!

Regarding the post-action failure, it looks like the auto-publish feature is attempting to publish your build, but you don't have the necessary permissions. We'll address this in the next patch.

In the meantime, you can disable this feature by adding the following to your workflow:

- uses: jfrog/setup-jfrog-cli@v4
  with:
    disable-auto-build-publish: true

@EyalDelarea
Copy link
Contributor

Hi @gadamsettie2,

I'm closing this issue to help us better track ongoing issues. If you encounter any further problems, please don't hesitate to open a new issue.

@maikelvdh, the same goes for you—if the error persists, kindly open a new issue and include as many details as possible so we can address it.

Thank you all for your feedback!

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.

4 participants