Skip to content

jfrog installation as a tool on FreeBSD using incorrect binary #37

Open

Description

Describe the bug

Following the documentation to install the CLI -- in my case JCasC, the tool binary installed doesn't match the FreeBSD Platform

Current behavior

incorrect:

% file  /zdata/builder/tools/io.jenkins.plugins.jfrog.JfrogInstallation/jfrog-cli/jf
/zdata/builder/tools/io.jenkins.plugins.jfrog.JfrogInstallation/jfrog-cli/jf: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=E2hxi75DgIIO1RnMvoGf/IxvbmBr8BHL0vWYw-juQ/EwpAMaqXtCBUN4tZRxgr/kqhsEDeRhUTnv7HS0mq0, not stripped

Reproduction steps

The tool section is defined as such:

      tool:
         jfrog:
           installations:
           - name: "jfrog-cli"
             properties:
             - installSource:
                 installers:
                 - "releasesInstaller"

The console log

/zdata/builder/tools/io.jenkins.plugins.jfrog.JfrogInstallation/jfrog-cli/jf: 1: Syntax error: word unexpected 

Expected behavior

The file output should be instead something like:

ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD),...

JFrog plugin version

1.5.1

JFrog CLI version

1.5.1

Operating system type and version

FreeBSD 14.1

JFrog Artifactory version

No response

JFrog Xray version

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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