Jenkins Agents which are also known as Jenkins Nodes are part of Jenkins environment. We can utilize the agents or nodes for performing the jobs, tasks, deployment, etc. Jenkins Server works also as master while nodes or agents can work as slave. Where Jenkins server control all the workflow which has been defined to perform […]
Sometimes, you want to change some old commits or you want repo to restore to that commit. You need to use “git reset” command in those cases. Options of “git reset” are “—hard, –mixed (default), –soft”. Let’s create three files and commit it once by one. So we will have below last three commits in our […]
Merge conflicts occur when competing changes are made to the same line of a file, or when one person edits a file and another person deletes the same file. A merge conflict is an event that occurs when Git is unable to automatically resolve differences in code between two commits. When all the changes in […]
Jenkins Plugins are very important part of CI/CD tool Jenkin. By default Jenkins has lot of functionality but if you want to add more functionality to perform the tasks then you can go ahead and install its Plugins. These are open source and can be installed automatically via Jenkins GUI or it can also be […]
Let’s say we have three branches feature1, 2 and master branch. Where master branch is our final branch. Git learns each branch as same. The each branch can’t see other branch commits until a merge happened. There are two ways for merging branch, once is fast-forward merge and other one is 3-way merge. Fast Forward […]
What is branch?Branch is just text reference to the commit.- Default branch is master.- Multiple branches can exists in the same repository.- Pointers for all branches are located in .git/refs/heads folder.- Current branch track new commits.- Branch pointer moves automatically after every new commit.- hange branch git checkout <branch>Now we will create a branch and below is the command to […]
Let’s consider, we have two copies of a git repo on two servers. One is on server “managed1” and “managed2”.The first issue occurred when you have made changes on managed1 and pushed it to remote. But on managed2 you haven’t pull the latest repo and committed the changes. It will give you error. On managed1: […]
Jenkins is an open source tool which is widely used for Continuous Integration and Continuous delivery. This is very famous and accepted tool in Software Development Industry. This works with others tool to develop a software fast and accuracy. Let’s install it now.We are assuming that you have internet connectivity on the machine so that […]
Docker File Docker file is basically used for automating image building. This is done via all details provided to a file which is known as Docker file.It is very useful for building images. You don’t need manual intervention to build images, upgrade it etc.You can write it anywhere in the system where you have access. […]
How to extend resource capacity in Kubernetes Quota? If we capacity has been exhausted and we need to extend it. We can do in two way.Vertical and Horizontal upgrade.By horizontal upgrade, you can go ahead and add one more replica to running deployment. # kubectl get pods NAME READY STATUS RESTARTS AGE varelite6-6545486c46-mj62w 1/1 Running […]
Recent Blog