Skip to content

Cleanup error: Unable to find jf executable #200

@zoranjurcevic

Description

@zoranjurcevic

Describe the bug

Hello team,

I'm currently experiencing an issue with the cleanup stage on my GitHub Actions pipelines. I've noticed it only a couple of hours ago and I'm thinking it is related to the previous cleanup issue from yesterday and the recent changes in 4.3.x but of course I'll let you guys confirm if that is the case. Do let me know if you need any additional information!

Current behavior

The errors are the following:

Error: Failed to parse JSON: Error: Unable to locate executable file: jf. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

Warning: failed while attempting to generate job summary: Error: Unable to locate executable file: jf. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

Error: Unable to locate executable file: jf. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

They're all slightly different but they do lead to the same issue: jf not being found in path.

Reproduction steps

To reproduce, use the GitHub Action:

    - name: 'Set up JFrog CLI'
      uses: jfrog/setup-jfrog-cli@v4
      with:
        version: 2.66.0
        disable-job-summary: false
        disable-auto-build-publish: false

Expected behavior

The cleanup should be done without errors.

Setup JFrog CLI version

4.3.2

JFrog CLI version

2.66.0

Workflow operating system type and version

Github action runner

JFrog Artifactory version (if relevant)

No response

JFrog Xray version (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions