Posts

Configure maven

Install and configure maven on jenkins  setup maven on jenkins setup environment variables install maven plugin configure maven and java  setup maven on Jenkins Go to vm and go to cd /opt folder under opt folder install maven package  url https://maven.apache.org/download.cgi extract maven package  tar -xvzf (file name) change file name  mv (file name) (new file name)

Jenkins

 Install jenkins https://pkg.jenkins.io/redhat-stable/ Jenkins Redhat Packages To use this repository, run the following command: sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key yum install fontconfig java-17-openjdk yum install jenkins Start Jenkins You can enable the Jenkins service to start at boot with the command: sudo systemctl enable jenkins You can start the Jenkins service with the command: sudo systemctl start jenkins You can check the status of the Jenkins service using the command: sudo systemctl status jenkins