This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
jenkins
This page is a work in progress by Hogren (talk | contribs). Treat its contents with caution.
Jenkins is an open source automation server written in Java. The project was forked from Hudson after a dispute with Oracle.[1]
Installation
USE flags
USE flags for dev-util/jenkins-bin The leading open source automation server
Emerge
root #
emerge --ask dev-util/jenkins-bin
Configuration
First configuration
Open http://localhost:8080 with a web browser and follow the first configuration steps.
General configuration
The main configuration dashboard is at http://localhost:8080/manage.
Security
The security configuration page is accessible on the configuration dashboard, or directly on http://localhost:8080/configureSecurity/.
Allow remote CLI
To allow anybody to connect with CLI, you need to activate two options. The first is "Allow anonymous read access" in "Authorisations" section. The second is "Enable CLI over Remoting" in the "CLI" section.
Usage
Service
systemd
For a oneshot start:
root #
systemctl start jenkins
To enable the service at each startup:
root #
systemctl enable jenkins
Access from the command-line
You must have remote CLI option activated.
Download http://localhost:8080/jnlpJars/jenkins-cli.jar.
To obtain the list of possible commands, open a console or a terminal and enter:
user $
java -jar jenkins-cli.jar -s http://localhost:8080/ help