DevOps Tools/CI/Jenkins
From r00tedvw.com wiki
(Difference between revisions)
Line 8: | Line 8: | ||
<div class="mw-collapsible mw-collapsed"> | <div class="mw-collapsible mw-collapsed"> | ||
:<code>--rm \</code> | :<code>--rm \</code> | ||
− | <div class="mw-collapsible-content"> | + | <div class="mw-collapsible-content" style="overflow:auto;"> |
− | : | + | :( Optional ) Automatically removes the Docker container (which is the instantiation of the jenkinsci/blueocean image below) when it is shut down. This keeps things tidy if you need to quit Jenkins. |
</div> | </div> | ||
</div> | </div> |
Revision as of 17:19, 18 December 2018
Overview | Continuous Integration (CI) | Source Control Management (SCM) | Containerization | Configuration
Jenkins
Installation (Docker - OSX)
Download, Install, and Start Docker CE edition (.dmg)
Install Jenkins image from repo using blueocean image.
~$ sudo docker run \
-u root
--rm \
- ( Optional ) Automatically removes the Docker container (which is the instantiation of the jenkinsci/blueocean image below) when it is shut down. This keeps things tidy if you need to quit Jenkins.
- Test
--rm \
-d \
-p 8080:8080 \ -p 50000:50000 \ -v jenkins-data:/var/jenkins_home \ -v /var/run/docker.sock:/var/run/docker.sock \
jenkinsci/blueocean