Deploying Jenkins with One-Click Apps

Updated by Linode Contributed by Linode

Contribute on GitHub

Report an Issue | View File | Edit File

Jenkins is an open source automation tool which can build, test, and deploy your infrastructure. It gives you access to a massive library of plugins to support automation in your project’s lifecycle. You can create a continuous delivery pipeline which automates the process for getting your software from version control to your users.

Linode Options

After providing the app-specific options, provide configurations for your Linode server:

Configuration Description
Select an Image Debian 9 is currently the only image supported by the Jenkins One-Click App, and it is pre-selected on the Linode creation page. Required
Region The region where you would like your Linode to reside. In general, it’s best to choose a location that’s closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of our data centers. Required.
Linode Plan Your Linode’s hardware resources. The resources needed for a Jenkins master can vary widely depending on your organization’s needs (the RAM allotted for it can range from 200 MB for a small installation to 70+ GB for a single and massive Jenkins master). See Jenkins’ hardware recommendations page for a detailed outline about resource requirements. We recommend, at minimum, starting with a 4 GB Linode plan. You can always resize your Linode to a different plan later if you feel you need to increase or decrease your system resources. Required
Linode Label The name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. Required.
Add Tags A tag to help organize and group your Linode resources. Tags can be applied to Linodes, Block Storage Volumes, NodeBalancers, and Domains.
Root Password The primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. Your root password can be used to perform any action on your server, so make it long, complex, and unique. Required

When you’ve provided all required Linode Options, click on the Create button. Your Jenkins app will complete installation anywhere between 2-5 minutes after your Linode has finished provisioning.

Getting Started after Deployment

After deploying your Jenkins instance, you are ready to log in and continue the configuration process. Follow the steps in the next section to get started.

Access Your Jenkins Instance

  1. Connect to your Linode via SSH.

  2. Retrieve your Jenkins admin password by viewing the contents of the /var/lib/jenkins/secrets/initialAdminPassword file.

    cat /var/lib/jenkins/secrets/initialAdminPassword
    

    You should see a similar output

      
    0f6fed516bc4ceab24373fe5de513dc
        
    
  3. Open a browser and navigate to http://192.0.2.0:8080/. Replace 192.0.2.0 with your Linode’s IP address. This will bring you the Unlock Jenkins page. Enter the password you retrieved in the previous step and click continue.

    Log into Jenkins with your admin password

  4. You are now ready to continue to configure Jenkins by installing the community suggested plugins or manually selecting plugins to install. Select the option you prefer.

    Install Jenkins Plugins

  5. After you have installed the desired plugins, you will be prompted to create your first admin user. Since the login password retrieved in the beginning of this section is temporary, you should create your admin user now.

    Create your first Jenkins admin user.

Note
Currently, Linode does not manage software and systems updates for One-Click Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

Join our Community

Find answers, ask questions, and help others.

This guide is published under a CC BY-ND 4.0 license.