Skip to content

jenkinsci/hyper-commons-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyper-commons-plugin

Build Status

This plugin provides common functionality for integrating Jenkins with Hyper.sh.

Features

Plugin currently supports the following features:

  • Install hyper cli
  • Set Hyper.sh credentials
  • Test connection to your account.

Use plugin

Prerequisites

Config plugin

Manage Jenkins -> Configure System -> Hyper.sh Config
  -> Hyper.sh Access Key
  -> Hyper.sh Secret Key
  -> DockerHub Username
  -> DockerHub Password
  -> DockerHub Email

Manage Jenkins -> Configure System -> Hypercli Install

Config job

Build job

View build result

Build plugin

Prerequisites

  • java 1.8+
  • maven 3+

Compile

$ mvn compile

Test

compile + test

$ mvn test

Package

output: target/hyper-commons.hpi

compile + test + package

$ mvn package

//skip test
$ mvn package -DskipTests

Install hyper-commons-plugin

In local dev jenkins server

//start jenkins server
$ mvn hpi:run -Djetty.port=8090

//open jenkins web ui
http://<host_ip>:8090/jenkins

In standalone jenkins server

open Jenkins Web UI in web browser

get pre-build hyper-commons.hpi

Manage Jenkins -> Manage Plugins -> Advanced -> Upload Plugin

Release plugin

$ mvn release:prepare release:perform

About

API plugin for integrate Jenkins with Hyper.sh

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.5%
  • HTML 0.5%