/hyper-build-step-plugin

Build step plugin for integrate Jenkins with Hyper.sh

Primary LanguageJavaMIT LicenseMIT

#Deprecated Moved to https://github.com/jenkinsci/hyper-build-step-plugin

hyper-build-step-plugin

Build Status

Run some tasks of Jenkins job in Hyper_ container. This plugin allows to add "Execute shell in Hyper_" build step into your job.

Use plugin

Prerequisites

Install plugin by manually

open Jenkins Web UI in web browser

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

Config Hyper_

Config -> Configure System
  -> Hyper Config : set AccessKey and SecretKey
  -> Test connection
  -> Download Hypercli

Config job

Config -> Build -> Execute shell in Hyper_

View build result

  • click Build Now to start build job by manually
  • click Console Output to view build result

Build plugin

Prerequisites

  • java 1.8+
  • maven 3+

Compile

$ mvn compile

Test

compile + test

$ mvn test

Package

output: target/hyper-build-step.hpi

compile + test + package

$ mvn package

//skip test
$ mvn package -DskipTests

Install

compile + test + package + install

$ mvn install

//skip test
$ mvn install -DskipTests