User Tools

Site Tools


tech:devops:jenkins:start

This is an old revision of the document!


Jenkins Topics

Configuration

Environment Variables

Some environment variables may need to be set at the global level, which can be configured under the “Manage Jenkins” section:

  • PATH
  • JAVA_HOME
  • M3_HOME

Trivia

CentOS/RHEL Trivia

wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key

NOTE: if you've previously imported the key from Jenkins, the “rpm –import” will fail because you already have a key. Please ignore that and move on.

You will need to explicitly install a Java runtime environment, because Oracle's Java RPMs are incorrect and fail to register as providing a java dependency. Thus, adding an explicit dependency requirement on Java would force installation of the OpenJDK JVM.
With that set up, the Jenkins package can be installed with:

yum install jenkins
tech/devops/jenkins/start.1508463399.txt.gz · Last modified: 2017/10/19 20:36 by rk4n3