Can't install Jenkins in OS-X <Error: Unable to access jarfile jenkins.war>

16,273

Here how the issue got resolved. If you got mac or windows regardless,

  1. go to jenkins-ci.org
  2. Select long term support release which is a stable build.
  3. Click on the link .war
  4. Then in Terminal cd to that path where you downloaded
  5. Run this command: java -jar jenkins.war

You are good to go!!!

Share:
16,273
John
Author by

John

Automation SME More than 12 years of Selenium Automation experiences using Java, Ruby, Groovy, Python, JavaScript etc

Updated on July 26, 2022

Comments

  • John
    John almost 2 years

    I am trying to install Jenkins in my mac and i have followed this below steps:

    1. Downloaded the Jenkins war file for OS-X

    2. After cd , Ran this:

      java -jar jenkins.war

    3. getting this error in my terminal:

      Error: Unable to access jarfile jenkins.war

    Any idea what i am doing wrong??? FYI, I was successful in windows by following those steps.

  • Muganwas
    Muganwas about 3 years
    He said he got it to work on windows but not macOS