Skip to content

jenkinsci/mina-sshd-api-plugin

Repository files navigation

Mina SSHD Api Plugin

This plugin wraps Apache Mina SSHD modules as Jenkins plugins. Each module have its own plugins.

Build

To build the plugin locally:

mvn clean verify

Release

The release is automated on Pull Request merge as per this documentation. To release the plugin, ask the maintainer(s) to merge a PR.

See the release page

Test local instance

mvn hpi:run

Adding a new Plugin / Module

If in need for a new SSHD module, open a pull request on this repository. Follow these steps:

  • Create a new directory mina-sshd-api-#MODULE_NAME
  • Create pom.xml
    • Add a dependency on org.apache.sshd:sshd-#MODULE_NAME.

      <dependency>
          <groupId>org.apache.sshd</groupId>
          <artifactId>sshd-#MODULE_NAME</artifactId>
          <version>${revision}</version>
      </dependency>
      
    • Exclude all transitive dependencies

  • Create src/main/resource/index.jelly
  • Add the module to the root pom.xml