jenkinsblueoceanJClouds Plugin
Jenkins
- 重启,关闭,重载
http://localhost:8080/exithttp://localhost:8080/restart
http://localhost:8080/reload
Jenkins & Docker
CloudBees Custom Builds Environment Plugin
CloudBees Custom Builds Environment Plugin allows Docker images and files to serve as template for Jenkins agents, reducing the administrative overhead of an agent installation to only updating a few lines in a handful of environment definitions for potentially thousands of agents.
Jenkins Pipeline Docker plugin
The Jenkins Pipeline Docker plugin extends these pipelines even further to provide first class support for Docker images and containers. This plugin allows Jenkins to build/release Docker images and leverage Docker containers for customized and reproducible agent environments.
Orchestrating Pipelines with Jenkins and Docker with the CloudBees Pipeline Docker Plugindocker-workflow-pluginDocker Pipeline Plugin
Pipeline Utility Steps
提供了很多方便的函数可以在编写jenkinsfile文件的时候使用;
Pipeline Utility Steps 注意,安装完此插件之后需要重启,否则会出现如下的问题Jenkins CI Pipeline Scripts not permitted to use method groovy.lang.GroovyObject;大部分插件安装完之后,都需要重启一下才好使,不然各种问题;
Cloudbees Docker Traceability
you can track all projects using an image, or configure this project to be triggered automatically when an updated image is pushed to the Docker registry. If you use Cloudbees Docker Traceability
FAQ
问题1
找不到/var/run/docker.sock文件
解决方案:
docker容器内的jenkins在容器内肯定找不到/var/run/docker.sock文件
启动的时候挂在上:
问题2
解决方案:
参考