How to install Docker on a Jenkins server and configure the Jenkins


To deploy a containerized app, Jenkins needs to be able to interact with Docker. This means that Docker needs to be installed locally on the Jenkins server, and the Jenkins user needs to be provided with the permissions necessary to use that Docker installation. How to install Docker on a Jenkins server and configure theContinue reading ” How to install Docker on a Jenkins server and configure the Jenkins”

Jenkins Continuous Delivery (CD) questions and answers


1.Which of the following are things that could be a Jenkins Pipeline stage? (Choose all that apply) A. Building the code. (Correct) B. Testing the code. (Correct) C. Executing a command (wrong) D. Deploying to Production (Correct) 2.What are the basic building blocks of a Jenkins pipeline? A. Stages and playbooks B. Stages and commandsContinue reading “Jenkins Continuous Delivery (CD) questions and answers”

Setting up GitHub Webhooks in Jenkins


One of the most important aspects of a good Continuous Integration (CI) process is quick feedback whenever there is a change. This means that it is important to execute builds as soon as possible after a code change is pushed to source control. One of the best ways to do this with GitHub and Jenkins isContinue reading “Setting up GitHub Webhooks in Jenkins”

How to “Unlock Jenkins”?


Unlock Jenkins To ensure Jenkins is securely set up by the administrator, a password has been written to the log (not sure where to find it?) and this file on the server: /var/lib/jenkins/secrets/initialAdminPassword Please copy the password from either location and paste it below. To Unlock Jenkins, you need to go to following directory /var/lib/jenkins/secrets/initialAdminPasswordContinue reading “How to “Unlock Jenkins”?”

jenkins.service failed because the control process exited with error code


Job for jenkins.service failed because the control process exited with error code. See “systemctl status jenkins.service” and “journalctl -xe” for details. If you get above message uninsall Jenkins and try again using this method sudo yum -y remove java sudo yum -y install java-1.8.0-openjdk sudo cp /etc/profile /etc/profile_backup echo ‘export JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk’ | sudo tee -aContinue reading “jenkins.service failed because the control process exited with error code”