Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 6be7f32

Browse files
committed
[master] update doc
1 parent 6a23c27 commit 6be7f32

File tree

6 files changed

+63
-6
lines changed

6 files changed

+63
-6
lines changed

README.md

+63-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,65 @@ hyper-build-step-plugin
33

44
This plugin allows to add "Execute shell in Hyper_" build step into your job.
55

6+
<!-- TOC depthFrom:1 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 -->
7+
8+
- [Features](#features)
9+
- [Use plugin](#use-plugin)
10+
- [Install plugin by manually](#install-plugin-by-manually)
11+
- [Config plugin](#config-plugin)
12+
- [Config job](#config-job)
13+
- [View build result](#view-build-result)
14+
- [Build](#build)
15+
- [Compile](#compile)
16+
- [Test](#test)
17+
- [Package](#package)
18+
- [Install](#install)
19+
20+
<!-- /TOC -->
21+
622
# Features
723
Plugin currently support following features:
824

925
- Install hyper cli
1026
- Set Hyper_ credentials
11-
- Support "Execute shell in Hyper_" build step in to job
27+
- Add build step "Execute shell in Hyper_" into job
28+
29+
30+
# Use plugin
31+
32+
## Install plugin by manually
33+
34+
open Jenkins Web UI in web browser
35+
36+
```
37+
Manage Jenkins -> Manage Plugins -> Advanced -> Upload Plugin
38+
```
39+
40+
![](images/upload-plugin.PNG)
41+
42+
## Config plugin
43+
44+
login https://console.hyper.sh to get a credential.
45+
46+
```
47+
Manage Jenkins -> Configure System -> Hyper Install And Config
48+
```
49+
![](images/config-plugin.PNG)
50+
51+
## Config job
52+
53+
```
54+
Config -> Build -> Execute shell in Hyper_
55+
```
56+
![](images/config-job.PNG)
57+
58+
## View build result
59+
60+
- click `Build Now` to start build job by manually
61+
- click `Console Output` to view build result
62+
63+
![](images/view-result.PNG)
64+
1265

1366
# Build
1467

@@ -18,31 +71,35 @@ $ mvn compile
1871
```
1972

2073
## Test
74+
75+
compile + test
76+
2177
```
22-
//compile + test
2378
$ mvn test
2479
```
2580

2681
## Package
2782

2883
> **output**: target/hyper-build-step-plugin.hpi
2984
85+
compile + test + package
86+
3087
```
31-
//compile + test + package
3288
$ mvn package
3389
34-
//compile + package
90+
//skip test
3591
$ mvn package -DskipTests
3692
```
3793

3894
## Install
3995

4096
> **target**: ~/.m2/repository/hyper-build-step/hyper-build-step-plugin/1.0-SNAPSHOT/hyper-build-step-plugin-1.0-SNAPSHOT.hpi
4197
98+
compile + test + package + install
99+
42100
```
43-
//compile + test + package + install
44101
$ mvn install
45102
46-
//compile + package + install
103+
//skip test
47104
$ mvn install -DskipTests
48105
```

images/config-job.PNG

11.8 KB
Loading

images/config-plugin.PNG

9.36 KB
Loading

images/upload-plugin.PNG

8.29 KB
Loading

images/view-result.PNG

68.4 KB
Loading

target/hyper-build-step-plugin.hpi

14.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)