Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

Jenkins and the CLI

In this lab, you will be provided with a server that has Jenkins pre-installed but not fully configured. As part of this lab, you will need to configure it for first use. Once configured and you can access the GUI, you will then need to configure it so you can use the Jenkins CLI. Once configured, you will use the Jenkins CLI from the provided server and run a command to show it is configured properly for use.

Google Cloud Platform icon

Path Info

Clock icon Beginner
Clock icon 45m
Clock icon Dec 16, 2022

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Log In to the Provided Server

    Log in to the server as cloud_user with the provided password to ensure you can log in. When the file SERVER-READY is shown in the /home/cloud_user folder, then you can follow along with the tasks.

  2. Challenge

    Log In to the Jenkins Instance on Port 8080

    The supplied CentOS 8 server has Jenkins pre-installed. Use the same username and password as the provided server to log into the GUI.

  3. Challenge

    Configure Jenkins for First Use

    • Connect to the provided Jenkins server at port 8080.
    • Configure the Jenkins server for first use by adding the key as mentioned on the initial landing page, creating a user called admin, and then installing the default plugins.
  4. Challenge

    Enable and Configure the Jenkins SSH Server via the GUI

    • Enable the SSH server built into Jenkins to use the fixed port 53801.
    • Create an SSH key using cloud_user and the ssh-keygen command.
    • Copy and then paste the generated from the cloud_user into the relevant location for the admin user in the GUI.
    • Save this configuration.
  5. Challenge

    Test the Jenkins CLI

    Test you can use the Jenkins CLI by running the Jenkins CLI help command through an SSH connection to the Jenkins server.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans