How to Deploy Jenkins with Marketplace Apps

Traducciones al Español
Estamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.

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:

ConfigurationDescription
Select an ImageDebian 9 is currently the only image supported by the Jenkins Marketplace App, and it is pre-selected on the Linode creation page. Required
RegionThe 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 PlanYour 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 LabelThe 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 TagsA tag to help organize and group your Linode resources. Tags can be applied to Linodes, Block Storage Volumes, NodeBalancers, and Domains.
Root PasswordThe primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. The password must meet the complexity strength validation requirements for a strong password. 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 Marketplace 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.

This page was originally published on

Create a Linode account to try this guide with a $100 credit.
This credit will be applied to any valid services used during your first 60 days.

Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.


Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.