-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjenkins.txt
63 lines (38 loc) · 1.35 KB
/
jenkins.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
==========
Jenkins CI
==========
``<host>:8080/systemInfo`` - shows system propeties, env vars, plugins
CLI
---
``<host>:8080/cli`` - Jenkins CLI
::
java -jar jenkins-cli.jar -s http://localhost:8080/ safe-restart
Docker
------
https://hub.docker.com/_/jenkins/
**docker-compose.yml**::
version: '2'
services:
jenkins:
image: jenkins
container_name: jenkins
user: root
ports:
- "8080:8080"
- "50000:50000"
volumes:
- ./jenkins_home:/var/jenkins_home
environment:
- TZ=Europe/Kiev
Switch UI language
------------------
1. Install plugin ``Locale Plugin``
2. ``Manage Jenkins > Configure System > Locale section``
3. Here you can enter the ``Default Language``: this should be a language code or locale code like "fr" (for French), or "de_AT" (German, in Austria), or "en_US", etc.
Role-based Authorization Strategy
---------------------------------
1. Install plugin ``Role-based Authorization Strategy``
2. As **admin** user ``Manage Jenkins > Configure Global Security > Access Control section > Authorization section``
3. Select ``Role-Based Strategy``
4. Create and config roles ``Manage Jenkins > Manage and Assign Roles > Manage Roles``
5. Assign roles with groups/users ``Manage Jenkins > Manage and Assign Roles > Assign Roles``