Skip to main content

Posts

Showing posts with the label CI/CD

What is CI/CD? and HOW TO INSTALL JENKINS ON CENTOS 7 / RHEL

Jenkins is open source Java-based automation server that can easily set the CI/CD pipeline. What is CI/CD? Continuous Integration (CI) is the process of automating the build and test code whenever a team member committed to the version control changes. Continuous Delivery (CD) is the process of building, testing, configuration, and deployment into the production environment in the building. This blog will use the official Jenkins repositories and the steps for installing Jenkins on CentOS 7 system. Prerequisites Make sure you are logged in as a user with sudo privileges. Installing Jenkins Before start Install Java # sudo yum install java-1.8.0-openjdk.x86_64 java-1.8.0-openjdk-devel.x86_64 – Once the installation is completed, you can check the installed version using the following command: # java -version Next, Jenkins installation commands # sudo curl --silent --location http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo | sudo tee /etc/yum.repos.d/je...

How to set up CI/CD process for WordPress database and code with GitLab and Jenkins?

How to set up CI/CD process for WordPress with GitLab and Jenkins? Introduction: GitLab is a web-based Git-repository manager. WordPress is a free and open-source content management system based on PHP and MySQL. Jenkins is open source automation server-based system. 1) Integrations GitLab project with Jenkins Login in your GitLab server and open your project Go to settings > integrations and add URL of your Jenkins projects. Jenkins URL will be similar :  http://username:password@jenkishost:port/project/projectname Pick any Trigger when you need to build your projects with Jenkins. You can test webhooks with your event and get HTTP 200 means your webhook connection is perfect 2) Jenkins Configuration Before start configuration, you must require to install GitLab plugins from Jenkins Manage Plugins. Other plugins :    SSH remote hosts (Run command remotely) Extended E-mail Notification (Email notification) Next, Create Project job in ...