Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.35 KB

DEVELOPMENT.md

File metadata and controls

39 lines (23 loc) · 1.35 KB

Developing

Getting Started

Prerequisites

Useful articles

Running and testing the plugin locally

Currently the plugin is in development state and a lot of things such as unit tests and such have to be added. These will be added as time passes.

  • The user needs to login to their Kubernetes Cluster before they start the following.

Currently the plugin uses the default Kubernetes Client available to it through it the local kubeconfig and operates at the current local kubecontext available during development.

  • Use the following command to start a instance of Jenkins locally with the plugin installed
mvn hpi:run

Ideally Jenkins should be available at localhost:8080/jenkins

Playing around

Visit the tutorial for help with doing various things with the plugin.

Releasing

Before releasing you need to run the following command:

mvn package -P download-binaries

This will then download the jx-pipeline binaries for each platform so they can be embedded inside the plugin.