xFusionCorp Industries' DevOps team aims to streamline the management of Jenkins jobs by organizing them into distinct folders based on their purpose. Complete the task following the provided requirements:
1.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 folder named Apache within the Jenkins UI.
Move the existing jobs httpd-php and services under the newly created Apache folder.
Note:
Ensure to install any required plugins and restart the Jenkins service if necessary. Opt for Restart Jenkins when installation is complete and no jobs are running on the plugin installation/update page.
Be aware that Jenkins UI may experience temporary unresponsiveness during the service restart. Refresh the UI page if needed.
Capture screenshots of your work for documentation and review purposes. Alternatively, utilize screen recording software like loom.com for detailed documentation and sharing.
Step 1: Access Jenkins UI
Click the Jenkins button on the top bar of your KodeKloud environment and log in with:
-
Username:
admin -
Password:
Adm!n321
Step 2: Install the Folders Plugin
The Folders plugin is required to create folders in Jenkins .
- Navigate to Manage Jenkins → Plugins (or Manage Plugins)
- Click on the Available tab
- Search for "Folders"
- Check the box for the "Folders" plugin (maintained by CloudBees)
- Click Install without restart or Download now and install after restart
Important: If prompted, select "Restart Jenkins when installation is complete and no jobs are running"
After restart, log in again with the same credentials. If the UI becomes unresponsive, refresh the page .
Step 3: Create the "Apache" Folder
Once the Folders plugin is installed and Jenkins has restarted:
- From the Jenkins dashboard, click New Item
- Enter the name: Apache
- Select Folder as the item type
- Click OK
- On the configuration page, you can leave the Display Name same as the folder name
- Click Save
Step 4: Move the "httpd-php" Job
- From the dashboard, click on the httpd-php job to open it
- In the left sidebar, click Move
- In the destination field, select Apache folder
- Click Move
Step 5: Move the "services" Job
- From the dashboard, click on the services job
- In the left sidebar, click Move
- Select Apache as the destination
- Click Move
Step 6: Verify the Result
After moving both jobs, your Jenkins dashboard should show:
Apache/
├── httpd-php
└── services
You can verify by:
- Clicking on the Apache folder to see both jobs inside
- Checking that the dashboard no longer shows
httpd-phpandservicesat the root level
Troubleshooting Tips
- If "Folder" option doesn't appear during New Item creation, the plugin installation likely hasn't completed. Wait a few moments and refresh, or check Manage Jenkins → Manage Plugins → Installed to confirm the Folders plugin is active .
- If Jenkins UI becomes stuck during restart, simply refresh the browser page and log in again .
Summary
| Step | Action |
|---|---|
| 1 | Log in to Jenkins UI (admin / Adm!n321) |
| 2 | Install Folders plugin via Manage Plugins |
| 3 | Restart Jenkins if prompted |
| 4 | Create new Folder named "Apache" |
| 5 | Move httpd-php job into Apache folder |
| 6 | Move services job into Apache folder |
Top comments (0)