Skip to content

A Java based Command Line Interface built using Apache Commons CLI, to download support zip from bitbucket server.

Notifications You must be signed in to change notification settings

padas2/bitbucket-supportzip-generator-cli

Repository files navigation

bitbucket-supportzip-generator-cli

A Java based Command Line Interface built using Apache Commons CLI, to download support zip from bitbucket server.

Pre-requisites

  • Works only on Bitbucket Server. Support for Bitbucket Data Center is yet to be added.
  • Bitbucket Server should be versioned at a minimum of 5.13.0.
  • Latest version of Atlassian Troubleshooting and Support Tools plugin has to be installed (Not optional).

Internal Makeup

This internally makes use of bitbucket-supportzip-generator API and Apache Commons CLI.

Usage

Download the latest jar from the releases tab. Run the jar in any terminal.

java -jar bitbucket-support-generator-cli.jar -help
usage: BitbucketSupportZipCLI
 -adminPwd <arg>              Admin user password
 -adminUser <arg>             Admin user slug
 -flattenUnzipDir             Flatten unzipped dir from hierarchial to
                              flat structure
 -gitServerUrl <arg>          Bitbucket server url
 -help                        Help
 -showLogsDirInFileExplorer   Open Unzipped dir in File Explorer

Sample usage :
java -jar bitbucket-suuportzip-generator-cli-0.0.2-SNAPSHOT.jar -gitServerUrl http://localhost:7990 -adminUser <admin-user> -adminPwd    <admin-password> -showLogsDirInFileExplorer -flattenUnzipDir

About

A Java based Command Line Interface built using Apache Commons CLI, to download support zip from bitbucket server.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages