一、Jenkins任务构建
### --- Jenkins任务构建
~~~ ——>立即构建
~~~ ——>查看构建结果:结果路径
~~~ ——>输出信息
~~~ ——>观察tomcat网站服务器,代码和脚本
![](https://img-blog.csdnimg.cn/img_convert/af181eb40b6225d68a52fe31cc093ed4.png)
![](https://img-blog.csdnimg.cn/img_convert/262d946adf96da4284b145ff29b43b3c.png)
二、控制台输出
### --- 控制台输出
~~~ 由用户 admin 启动
Running as SYSTEM
~~~~ 构建中 在工作空间 /root/.jenkins/workspace/yanqitest 中
The recommended git tool is: NONE
No credentials specified
> /usr/local/git/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> /usr/local/git/bin/git config remote.origin.url https://github.com/yanqivip/Jenkins.git # timeout=10
Fetching upstream changes from https://github.com/yanqivip/Jenkins.git
> /usr/local/git/bin/git --version # timeout=10
> git --version # 'git version 2.9.5'
> /usr/local