Menu

1 / 7

5.Configure Jenkins Job for Package Installation

DEV Community: jenkins·Thu Kha Kyawe·5 months ago
#xZ25Kry3
#dev#jenkins#package#install#x86_64
Reading 0:00
15s threshold

Lab Information

Some new requirements have come up to install and configure some packages on the Nautilus infrastructure under Stratos Datacenter. The Nautilus DevOps team installed and configured a new Jenkins server so they wanted to create a Jenkins job to automate this task. Find below more details and complete the task accordingly:

Access the Jenkins UI by clicking on the Jenkins button in the top bar. Log in using the credentials: username admin and password Adm!n321.

Create a new Jenkins job named install-packages and configure it with the following specifications:

Add a string parameter named PACKAGE.

Configure the job to install a package specified in the $PACKAGE parameter on the storage server (Stratos Datacenter).

Build the job at least once (e.g. with parameter PACKAGE=vim-enhanced) so the package is installed on the Storage server and can be verified.

Note:

Ensure to install any required plugins and restart the Jenkins service if necessary.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.