@@ -3,12 +3,65 @@ hyper-build-step-plugin
3
3
4
4
This plugin allows to add "Execute shell in Hyper_ " build step into your job.
5
5
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
+
6
22
# Features
7
23
Plugin currently support following features:
8
24
9
25
- Install hyper cli
10
26
- 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
+
12
65
13
66
# Build
14
67
@@ -18,31 +71,35 @@ $ mvn compile
18
71
```
19
72
20
73
## Test
74
+
75
+ compile + test
76
+
21
77
```
22
- //compile + test
23
78
$ mvn test
24
79
```
25
80
26
81
## Package
27
82
28
83
> ** output** : target/hyper-build-step-plugin.hpi
29
84
85
+ compile + test + package
86
+
30
87
```
31
- //compile + test + package
32
88
$ mvn package
33
89
34
- //compile + package
90
+ //skip test
35
91
$ mvn package -DskipTests
36
92
```
37
93
38
94
## Install
39
95
40
96
> ** target** : ~ /.m2/repository/hyper-build-step/hyper-build-step-plugin/1.0-SNAPSHOT/hyper-build-step-plugin-1.0-SNAPSHOT.hpi
41
97
98
+ compile + test + package + install
99
+
42
100
```
43
- //compile + test + package + install
44
101
$ mvn install
45
102
46
- //compile + package + install
103
+ //skip test
47
104
$ mvn install -DskipTests
48
105
```
0 commit comments