Skip to content

Simplifies the creation and the transfer of a Support Bundle to JFrog Support team.

License

Notifications You must be signed in to change notification settings

cyrilc-pro/jfrog-support-bundle-flunky

Repository files navigation

GitHub Workflow Status Codecov Go Report Codacy grade

JFrog Support Bundle Flunky

About this plugin

This plugin helps with generating and exchanging a JFrog Support Bundle with JFrog Support.

Installation with JFrog CLI

Since this plugin is currently not included in JFrog CLI Plugins Registry, it needs to be built and installed manually. Follow these steps to install and use this plugin with JFrog CLI.

  1. Make sure JFrog CLI is installed on you machine by running jfrog. If it is not installed, install it.
  2. Create a directory named plugins under ~/.jfrog/ if it does not already exist.
  3. Clone this repository.
  4. CD into the root directory of the cloned project.
  5. Run go build -o sb-flunky to create the binary in the current directory.
  6. Copy the binary into the ~/.jfrog/plugins directory.

Usage

This plugin has a unique command support-case that:

  1. Creates a Support Bundle on the target Artifactory service

  2. Downloads the Support Bundle locally to a temporary file

  3. Uploads the Support Bundle on JFrog "dropbox" service or to any Artifactory service registered in JFrog CLI configuration

Arguments

  • support-case - The JFrog Support case number (required).

Aliases

  • case
  • c

Examples

jfrog sb-flunky support-case 1234

or

jfrog sb-flunky case 1234

or

jfrog sb-flunky c 1234

Optional flags

  • server-id: The ID of the target Artifactory service in JFrog CLI configuration (default: use default service). Example: --server-id=my-jfrog-service.

  • download-timeout: Timeout of the Support Bundle download (default: 10 min). Example: --download-timeout=15m.

  • retry-interval: Waiting time between a failed download attempt and the next attempt (default: 5 sec). Example: --retry-interval=10s.

  • prompt-options: Specify what is to be included in the created Support Bundle (default: use default Support Bundle configuration). Example: --prompt-options.

  • target-server-id: The ID of the Artifactory service to which the Support Bundle will be uploaded (default: JFrog "dropbox" service).

Environment variables

None.

Additional info

None.

Release Notes

The release notes are available here.

License

Apache 2.0 License.

FOSSA Status

About

Simplifies the creation and the transfer of a Support Bundle to JFrog Support team.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages