- Extending Jenkins
- Donald Simpson
- 290字
- 2021-07-30 09:48:09
Getting started with Jenkins
As a Java application, Jenkins can be installed and run in different ways depending on your requirements, personal preferences, and the environment that you are running it in.
The simplest and easiest approach to quickly get Jenkins up and running is by setting up Java, downloading the latest Jenkins WAR file from the Jenkins homepage (www.jenkins-ci.org), and then simply starting it from the command line like this:
java –jar jenkins.war
The following figure demonstrates the use of this approach by running just two simple commands:
wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
:This command downloads the latest version of Jenkins from the main site.
wget
is a Linux utility that fetches files from the Web—if you are on a platform that does not havewget
, you can simply save the link (thejenkins.war
file) via your browser to a working directory instead.The URL is obtained by copying the Latest & Greatest link from the homepage at explained here: https://wiki.jenkins-ci.org/display/JENKINS/LTS+Release+Line.
This is preferable for more conservative installations, where stability is more important than having latest features.
java –jar jenkins.war
:This second command tells Java to run the WAR file that we just downloaded as an application, which produces the resulting output that you can see in the following screenshot—Jenkins unpacking from the WAR file, checking and initializing the various subsystems, and starting up a process on port
8080
:Downloading and starting Jenkins
This simple process is usually all that is required to both download the latest version of Jenkins and get it up and running. You should now be able to access the web interface at http://localhost:8080
through your browser and begin setting up jobs to make Jenkins work for you:

The Jenkins start page
- 國際大學生程序設計競賽中山大學內部選拔真題解(二)
- JavaScript 從入門到項目實踐(超值版)
- App Inventor創意趣味編程進階
- Scala for Machine Learning(Second Edition)
- Django 3.0入門與實踐
- 深入實踐Kotlin元編程
- BeagleBone Robotic Projects(Second Edition)
- Deep Learning with R Cookbook
- jQuery for Designers Beginner's Guide Second Edition
- Android Sensor Programming By Example
- R的極客理想:量化投資篇
- JavaScript編程精解(原書第2版)
- 視窗軟件設計和開發自動化:可視化D++語言
- Getting Started with JUCE
- Vue.js 3.x高效前端開發(視頻教學版)