Jenkins_第五关_系统管理(1)

前面说过插件管理,这回说说 Global Tool Configuration 和 Global  Configuration;

比较简单,通过几幅图基本上就能看懂。

#version 1.0

#注常见报错 

1、Agent to master security subsystem is currently off.

 

  在,管理---Configure Global Security---最底部【√】Enable Agent → Master Access Control

2、Tcp port for JNLP agents未开启。

  默认禁用,选择随机或者指定一个端口。

 

一、 Global Tool Configuration

1、maven 和 Jdk 

2、 Git (别名可随意设置非中文)

3、Ant 和 Maven

d

单机save保存配置。

二、 系统设置(全局设置)

1、设置家目录,默认/var/lib/jenkins/

2、关联Gitlab的一些配置

点击Add-->jenkins 或 先在 首页的”Credentials“选项建立好证书,然后选择就好。

3、系统管理邮件

 

 

4、ssh

注:key 框里的内容的优先级 比 Path to key  的要高。如果两个都输入,私钥路径将会被忽略。

Passphrase: 即使留空,保存后仍然会有一串点在这。测试时ssh密钥 没有设置密码。

 

posted @ 2017-03-27 17:10  山城木头人  阅读(773)  评论(0编辑  收藏  举报