Eychains and Provisioning Profiles Management are installed in The Latest Version of Jenkins. In the first version of Jenkins, eyChains and Provisioning Profiles Management are installed in the first version of Jenkins. Keychain, click upload, there is no response, so the certificate configuration is not successful, affecting Jenkins automatic packaging)
Click on the Downloads
Choose to download a stable version of LTS. There are two ways to install it
1. Click on macOS to install using BREW.Brew Installation Guide
It is possible to install the latest version via brew Install Jenkins -lts, but problems arise when you download the specified older version such as 2.263.4 via brew Install jenkins-lts@YOUR_VERSION.
Then look at the previous installers under the download page and find that the latest supported package is version 2.235.2 and version 2.263.4 is not available at all
The above method cannot be installed through BREW, so I can only use another method. I choose Docker to install it.
2. Install by Docker
Docker is a platform for running applications in an isolated environment called a “container” (or Docker container). Applications like Jenkins can be downloaded as read-only “images” (or Docker images), each image running as a container in Docker.
There are two ways to install Docker:
Note: If the Java environment has been configured locally, you need to check the version of Java, and the version of Java that Jenkins depends on should be the same as that of Jenkins
1. Install Docker using brew: brew cask install Docker
2. Manually download the Docker package for installation:Docs.docker.com/desktop/mac…According to the chip type of the computer to download the installation package for installation
Jenkins’ official website: www.jenkins.io/+
Search for the Jenkins version you want to download, then copy the command on the right (Docker pull Jenkins/Jenkins :2.263.4-lts-centos7) and press Enter to download the specified version
After the installation is complete, run Jenkins to load the local host file address
- -p 8080:8080: indicates port mapping. Port 8080 of the local host is mapped to port 8080 of the container
- -p 500:50000: Jenkins communicates through TCP port 50000
- – v/Users/zhou/docker/Jenkins: / var/jenkins_home: put container Jenkins directory mounted to the machine
- Jenkins/Jenkins :2.263.4: version corresponding to Jenkins mirroring
docker run -d -p 8080:8080 -p 50000:50000 –name jenkins –privileged=true -v / Users/zhou/docker/Jenkins: / var/jenkins_home Jenkins/Jenkins: 2.263.4
After successful startup, you can also see the information of Jenkins in the desktop Docker
Once this is done, type http://localhost:8080 to configure Jenkins in your browser.
Hope the above can help you, if you have any questions please leave a message.