jfrog / jenkins-jfrog-plugin

Easy integration between Jenkins and the JFrog Platform.
https://github.com/jfrog/jenkins-jfrog-plugin
Apache License 2.0
39 stars 17 forks source link

Jenkins Config as code - Doc needs update - Tool Automatic installation from release.jfrog.io #53

Closed psimms-r7 closed 1 year ago

psimms-r7 commented 1 year ago

Describe the bug

The code defined for jenkins config as code for the tool and automatic install from jfrogio does not work, more is needed

Under https://github.com/jfrog/jenkins-jfrog-plugin#jenkins-configuration-as-code

Add JFrog CLI tool using one of the following methods: Automatic installation from release.jfrog.io:

tool:
  jfrog:
    installations:
      - name: "jfrog-cli"

Current behavior

Error

A 'jfrog' tool was not set. Using JFrog CLI from the system path.

Reproduction steps

Needs to be like this to pickup to be installed automatically

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

Expected behavior

No response

JFrog plugin version

1.2.0

JFrog CLI version

2.34.6

Operating system type and version

Jenkins 2.387.1

JFrog Artifactory version

No response

JFrog Xray version

No response

yahavi commented 1 year ago

Thanks for reporting this issue, @psimms-r7! We fixed it in #54.