mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
1.8 KiB
1.8 KiB
title, subtitle
| title | subtitle |
|---|---|
| Publish | Publish your Plugin |
If you want to share your plugin with SCM-Manager users, you can publish it to the SCM-Manager Plugin Center by following the steps below.
- Create a or Git repository for your plugin
- Develop your plugin as described in Create a plugin
- Fork the Plugin Center Repository
- Create a folder with the name of your plugin under the
src/pluginsdirectory - Put a
index.mdwhich starts with frontmatter metadata, which describes your plugin e.g.:
---
name: scm-cas-plugin
displayName: CAS
description: CAS Authentication plugin for version 2.x of SCM-Manager
category: authentication
author: Cloudogu GmbH
---
- Document your plugin with markdown below the frontmatter header
- Commit your work and open a pull request. Put the url to your plugin repository into the description of the pull request.
After you have opened the pull request. We will do a few steps to integrate your plugin into the plugin center:
- We will create a fork of your plugin under the SCM-Manager Team and give your account write permissions
- After that we will create a Jenkins job for your plugin on oss.cloudogu.com
- At the end we will accept your pull request
From now on you can work with the repository in the SCM-Manager Team. Every time you release your plugin (push a tag to the repository) the Jenkins job will build your plugin and release it to the plugin center.
Architecture
The following picture shows the architecture of the involved systems.
