Bitbucket中用于同步git仓库的插件,支持http(s)和ssh协议。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.5 KiB

[![Build Status](https://travis-ci.org/ef-labs/stash-hook-mirror.png)](https://travis-ci.org/ef-labs/stash-hook-mirror)
# Bitbucket Server Repository Hook for Mirroring
12 years ago
The following is a plugin for Atlassian Bitbucket Server to provide repository mirroring to a remote repository.
12 years ago
* `atlas-run` -- installs this plugin into the product and starts it on localhost
* `atlas-debug` -- same as `atlas-run`, but allows a debugger to attach at port 5005
* `atlas-debug --jvm-debug-suspend` -- same as `atlas-debug` but waits for the debugger to attach
* `atlas-cli` -- after atlas-run or atlas-debug, opens a Maven command line window:
12 years ago
- 'pi' reinstalls the plugin into the running product instance
* `atlas-help` -- prints description for all commands in the SDK
12 years ago
Full documentation is always available at:
12 years ago
https://developer.atlassian.com/display/DOCS/Introduction+to+the+Atlassian+Plugin+SDK
Soy documentation is available here:
https://bitbucket.org/atlassian/aui-adg/wiki/versions/product-version-matrix
https://bitbucket.org/atlassian/aui/src/master/src/soy/form.soy
The plugin can be found on the Atlassian Marketplace here:
https://marketplace.atlassian.com/plugins/com.englishtown.stash-hook-mirror
Plugin properties in bitbucket.properties in file, located in the shared folder of server home directory:
`plugin.com.englishtown.stash-hook-mirror.push.attempts=5
plugin.com.englishtown.stash-hook-mirror.push.threads=3
plugin.com.englishtown.stash-hook-mirror.push.timeout=120`