Jenkins Shell: Which One Does it Use? Get the Answer Here!

If you are wondering which shell Jenkins uses, the answer is simple: Jenkins uses the default shell of the underlying operating system. So, if you are using a Linux-based operating system, Jenkins will use Bash as the default shell. Similarly, if you are using a Windows-based operating system, Jenkins will use Windows PowerShell as the default shell.

However, it is important to note that you can change the default shell in Jenkins by configuring the "Shell executable" field in the Jenkins configuration page. This can be useful if you want to use a different shell or if you want to use a specific version of the default shell.

To change the default shell, follow these steps:

  1. Go to the Jenkins dashboard and click on "Manage Jenkins".
  2. Click on "Configure System".
  3. Scroll down to the "Shell" section.
  4. Enter the path to the shell executable that you want to use.
  5. Click on "Save" to save the changes.

That's it! Now you know which shell Jenkins uses and how to change it if needed.

Click to rate this post!
[Total: 0 Average: 0]

Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Go up

Below we inform you of the use we make of the data we collect while browsing our pages. You can change your preferences at any time by accessing the link to the Privacy Area that you will find at the bottom of our main page. More Information