This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tech:devops:jenkins:start [2018/12/19 00:56] rk4n3 |
tech:devops:jenkins:start [2018/12/19 01:39] (current) rk4n3 |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
* OpenJDK 8: ''yum install java-1.8.0-openjdk-devel'' | * OpenJDK 8: ''yum install java-1.8.0-openjdk-devel'' | ||
- | * Maven: see installation instructions below | + | * Maven: [[#maven_installation|see installation instructions below]] |
===== Jenkins Installation ===== | ===== Jenkins Installation ===== | ||
Line 22: | Line 22: | ||
firewall-cmd --reload | firewall-cmd --reload | ||
</code> | </code> | ||
- | Remember to ''systemctl enable jenkins'' and ''service jenkins start'' \\ | + | Remember to ''systemctl enable jenkins'' and ''systemctl start jenkins'' \\ |
Log in (default login is ''admin'' with password ''admin'') and change password, add user(s) \\ | Log in (default login is ''admin'' with password ''admin'') and change password, add user(s) \\ | ||
- | ==== Maven Installation ==== | + | ===== Maven Installation ===== |
- | Get latest maven archive, example:<code>wget http://www-eu.apache.org/dist/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz</code> | + | Get latest maven archive, example:<code>wget http://www-eu.apache.org/dist/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.tar.gz</code> |
Extract to suitable location and sym-link to it (''/usr/maven'' or ''/opt/maven'') \\ | Extract to suitable location and sym-link to it (''/usr/maven'' or ''/opt/maven'') \\ | ||
Set environment variables in ''/etc/profile.d/maven.sh'':<code> | Set environment variables in ''/etc/profile.d/maven.sh'':<code> |