DEV Community

Tomashubham
Tomashubham

Posted on

My hands on experience of Shell Scripting in DevOps.

Shell Scripting is the fundamental to automate your task related to files management through batch files. It acts as an insulating layer between kernel and user and therefore considered as powerful programming language.

As a DevOps professional, and my personal point of view, I prefer shell script to organize my daily work, like automating mail when code is delivered in production environment, automatically assigned work to team through organization application written in Java and give daily update status about task and build process. This is just a core part of designing the process and patterns more reliable, resilient and distributable.Apart from it, shell scripting also comes handy in effective make use of various devOps tools.
I preferably automate throughout my build process using shell script by writing batch files and then create pipeline in Groovy in Jenkins, which picks jobs, run batch files and execute sequentially. Currently, I am learning Docker and Docker Swarm and looking to integrate in my build process in Jenkins. This enables every team members in my projet to use the docker image from the docker hub in case if updated application is failed due to some kind of code error. So, this makes the application always available even in down time of updated one.

So, You can see that how I enable my work with such powerful scripting language and makes not only everything automate but also process oriented, result oriented, team collaboration and reliable in down time. I hope this sneak view of my work highlights you with some good stuffs of my work.

Top comments (0)