Editing
Jenkins in the Homelab
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[Category:Automation]][[Category:Management]] [[File:jenkins.png|200px|border|right]]{{wikimedia-stub}} == Introduction == Jenkins is an open source automation platform, who [https://jenkins.io/ describe themselves] as ''The leading open source automation server, Jenkins provides hundreds of [https://wiki.jenkins-ci.org/display/JENKINS/Plugins plugins] to support building, deploying and automating any project.'' Primarily used by developers for [https://jenkins.io/doc/pipeline/ pipelining] their code through development stages and into production, it's primary function is to enable "Continuous Integration and Continuous Delivery". However, the platform itself is extremely extensible, and being Java based, runs on almost any OS. This makes it a really interesting choice as a base for introducing automation into your homelab and controlling it from a single console! (Nobody said Single Pain of Glass! *Drink*!) == Pros and Cons == TBC == Costs == The basic version of Jenkins (with no high availability features) is completely free! Enterprise versions and even SaaS are available. For a zero cost solution, run it on Linux! == Use Cases == So you can of course use this as a tool for deploying and automating code, but being an extensible platform with scheduling capabilities, why not use it as a scheduling tool as well? You dont even need to install a single slave either, just spin up your Jenkins master server, then use that to either SSH or run PowerShell scripts on all of your managed VMs, and monitor their progress via the dashboard! It couldn't be simpler! == Known Issues and Solutions == * If you do try to remotely deploy a slave to a Windows instance, it can be quite painful and requires lots of firewall ports and registry changes. Best just to avoid slaves in a small environment, but if you do need them: ** [https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM Windows slaves fail to start via DCOM] == Example Jobs == '''TBC''' == External Links == Below are listed a number of curated links to blog posts from community members about how they used Jenkins for task scheduling and automation. {| class="wikitable" |+External Links |- ! scope="col"| Title ! scope="col"| Description |- style="vertical-align:top;" |[https://www.cloudbees.com/blog/drop-cron-use-jenkins-instead-scheduled-jobs Drop that cron - use Jenkins instead for scheduled jobs]||Discusses why you might use Jenkins as a scheduler |- style="vertical-align:top;" |[http://www.panozzaj.com/blog/2014/05/02/replace-local-cron-with-jenkins/ Replace Local Cron With Jenkins]||Examples of Jenkins automation, such as automating OS patching |- style="vertical-align:top;" |[https://wiki.jenkins-ci.org/display/JENKINS/Plugins Jenkins Plugins]||Primary plugin repo, with plugins for Windows, Linux and generic features |}
Summary:
Please note that all contributions to Project Homelab may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project Homelab:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Wikimedia-stub
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
About the Project
Get Involved!
Brainstorming
Wiki HOWTO
Article Template
Disclaimer
Recent changes
Random page
Help
Content
Requirements
Homelab Categories
Building a Homelab
Managing a Homelab
Securing a Homelab
Keep It Simple Stupid
HOWTO Articles
Decision Trees
The Unofficial HCL
Jargon Buster
Homelab Horror Stories
Free Learning Resources
Tools
What links here
Related changes
Special pages
Page information
[[File:nodespace-selfhosted-234x60-1.png|link=http://www.nodespace.com]]