Devops Exp8
Devops Exp8
To run pipelines, you need to have a Jenkins instance that is set up with the appropriate plugins.
This requires:
The Pipeline plugin is installed in the same way as other Jenkins plugins. Installing the
Pipeline plugin also installs the suite of related plugins on which it depends: Open Jenkins in
your web browser. On the Manage Jenkins page for your installation, navigate to Manage
Plugins. Find Pipeline Plugin from among the plugins listed on the Available tab. (You can do
this by scrolling through the plugin list or by using “Pipeline” as a term to filter results) Select
the checkbox for Pipeline Plugin. Select either Install without restart or Download now and
install after restart. Pipeline plugin installation automatically includes all necessary
dependencies. Restart Jenkins.
The Pipeline plugin works with a suite of related plugins that enhance the pipeline
functionality of your Jenkins setup. The additional plugins typically introduce additional pipeline
syntax or visualizations.
Optional plugins are mainly useful if you are creating pipelines that are related to the
technologies that they support.
Prerequisites
Minimum hardware requirements:
256 MB of RAM
1 GB of drive space (although 10 GB is a recommended minimum if running Jenkins as a Docker
container)
Recommended hardware configuration for a small team:
4 GB+ of RAM
50 GB+ of drive space
Comprehensive hardware recommendations:
Refer to the Windows section of the Downloading Jenkins page to download either an LTS release or a
weekly release of the Windows installer. After the download completes, open the Windows installer and
follow the steps below to install Jenkins.
To run Jenkins service using a local or domain user, specify the domain user name and
password with which you want to run Jenkins, click on Test Credentials to test your
domain credentials and click on Next.
Step 4: Port selection
Specify the port on which Jenkins will be running, Test Port button to validate whether the
specified port if free on your machine or not. Consequently, if the port is free, it will show a green
tick mark as shown below, then click on Next.
Step 5: Select Java home directory
The installation process checks for Java on your machine and prefills the dialog
with the Java home directory. If the needed Java version is not installed on your
machine, you will be prompted to install it.
Once your Java home directory has been selected, click on Next to continue.
Step 6: Custom setup
Select other services that need to be installed with Jenkins and click on Next.
Step 7: Install Jenkins
Click on the Install button to start the installation of Jenkins.
Additionally, clicking on the Install button will show the progress bar of installation, as shown below:
Step 8: Finish Jenkins installation
Once the installation completes, click on Finish to complete the installation.
Jenkins will be installed as a Windows Service. You can validate this by browsing the services section, as
shown below: