jenkins

continuous integration and delivery server

TLDR

Start Jenkins
$ java -jar jenkins.war
Start on specific port
$ java -jar jenkins.war --httpPort=[8888]
Run as daemon
$ java -jar jenkins.war &
Specify home directory
$ JENKINS_HOME=[/var/jenkins] java -jar jenkins.war
Use HTTPS
$ java -jar jenkins.war --httpsPort=[8443] --httpsKeyStore=[keystore.jks]

SYNOPSIS

java -jar jenkins.war [options]

DESCRIPTION

Jenkins is a continuous integration and delivery server. It automates building, testing, and deploying software.The platform supports pipelines, plugins, and distributed builds. It integrates with version control and deployment systems.

PARAMETERS

--httpPort PORT

HTTP port (default 8080).
--httpsPort PORT
HTTPS port.
--httpsKeyStore FILE
SSL keystore file.
--prefix PATH
URL prefix.
--daemon
Run as daemon.
--help
Display help information.

INSTALL

sudo pacman -S jenkins
brew install jenkins
nix profile install nixpkgs#jenkins

CAVEATS

Requires Java. Resource intensive. Security configuration important.

HISTORY

Jenkins was forked from Hudson in 2011 by Kohsuke Kawaguchi. It became the leading open-source CI/CD server.

SEE ALSO

java(1), docker(1), gitlab-runner(1)