<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>groovy Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/groovy/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/groovy/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 21 Feb 2026 07:13:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Mastering Grails: Use Cases, Architecture, Workflow, and Getting Started Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/mastering-grails-use-cases-architecture-workflow-and-getting-started-guide/</link>
					<comments>https://www.scmgalaxy.com/tutorials/mastering-grails-use-cases-architecture-workflow-and-getting-started-guide/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Wed, 04 Jun 2025 14:45:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SoftwareDevelopment]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[TechGuide]]></category>
		<category><![CDATA[WebApplications]]></category>
		<category><![CDATA[WebDevelopment]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12552</guid>

					<description><![CDATA[<p>1. What is Grails? Grails is an open-source web application framework that uses Groovy and is built on top of [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/mastering-grails-use-cases-architecture-workflow-and-getting-started-guide/">Mastering Grails: Use Cases, Architecture, Workflow, and Getting Started Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="683" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-32-1024x683.png" alt="" class="wp-image-12559" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-32-1024x683.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-32-300x200.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-32-768x512.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-32.png 1536w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>1. What is Grails?</strong></h3>



<p class="wp-block-paragraph"><strong>Grails</strong> is an open-source web application framework that uses Groovy and is built on top of the Spring framework. It is designed to simplify web application development by leveraging the conventions-over-configuration philosophy and offering a high level of abstraction for common web development tasks. Grails promotes rapid application development (RAD) by using Groovy (a dynamic language running on the Java Virtual Machine, or JVM) and integrates tightly with the Spring ecosystem, which is a robust and widely used enterprise Java framework.</p>



<p class="wp-block-paragraph">Grails is a full-stack framework that follows the model-view-controller (MVC) architecture, making it a powerful tool for building web applications quickly and efficiently. It allows developers to use Groovy to write concise code while still benefiting from the stability and reliability of the Java ecosystem. Since Grails is built on top of Spring and Hibernate, it naturally integrates with a wide range of Java libraries and tools, making it versatile for a variety of projects.</p>



<p class="wp-block-paragraph">Grails is often compared to Ruby on Rails due to its similar design principles and focus on rapid development. It significantly reduces the amount of boilerplate code needed for building web applications, enabling developers to focus more on business logic than configuration.</p>



<h3 class="wp-block-heading"><strong>Key Features of Grails</strong>:</h3>



<ul class="wp-block-list">
<li><strong>Built on Groovy and Spring</strong>: Grails combines the simplicity of Groovy with the power of the Spring framework, allowing developers to build robust and scalable applications quickly.</li>



<li><strong>Convention-over-Configuration</strong>: Grails uses sensible default conventions for configuration, meaning that developers can focus more on writing code and less on setting up configurations.</li>



<li><strong>Integrated ORM with GORM</strong>: Grails provides GORM (Grails Object-Relational Mapping), which simplifies the interaction with databases and is based on Hibernate.</li>



<li><strong>Dynamic and Flexible</strong>: Grails supports dynamic methods and closures through Groovy, making it a very flexible and expressive framework.</li>



<li><strong>Built-in Tools for Testing</strong>: Grails comes with built-in tools for testing and validation, including support for unit testing, integration testing, and functional testing.</li>



<li><strong>Plugin Ecosystem</strong>: Grails has a rich ecosystem of plugins, which developers can use to add functionality to their applications, ranging from authentication to integration with other systems.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>2. Major Use Cases of Grails</strong></h3>



<p class="wp-block-paragraph">Grails is a versatile framework suitable for building a wide range of web applications. Below are the major use cases where Grails excels:</p>



<h4 class="wp-block-heading"><strong>2.1 Rapid Web Application Development</strong></h4>



<p class="wp-block-paragraph">Grails is ideal for developers who need to quickly prototype or develop a full-featured web application. The framework&#8217;s convention-over-configuration approach means that developers can focus more on building functionality and less on setting up configurations. This makes Grails an excellent choice for building:</p>



<ul class="wp-block-list">
<li><strong>Content Management Systems (CMS)</strong>: Grails can be used to build scalable and customizable CMS platforms for websites, blogs, or enterprise applications.</li>



<li><strong>E-commerce Websites</strong>: The flexibility of Grails allows developers to build e-commerce platforms with custom features, integrated payment systems, and real-time inventory management.</li>
</ul>



<h4 class="wp-block-heading"><strong>2.2 RESTful APIs</strong></h4>



<p class="wp-block-paragraph">Grails is a powerful choice for building RESTful APIs, which are crucial for modern web and mobile applications. Grails comes with built-in support for REST APIs, making it easy to create endpoints, manage request/response formats, and integrate with various data sources. It supports JSON and XML responses out of the box, and developers can easily customize how data is handled and returned.</p>



<ul class="wp-block-list">
<li><strong>Mobile Application Backend</strong>: Grails makes it easy to build a backend for mobile applications, handling user authentication, data storage, and real-time communication with the frontend.</li>



<li><strong>Microservices</strong>: Grails&#8217; integration with Spring Boot allows it to fit into a microservice architecture, where each service is responsible for a specific function and communicates via HTTP APIs.</li>
</ul>



<h4 class="wp-block-heading"><strong>2.3 Enterprise Applications</strong></h4>



<p class="wp-block-paragraph">Due to Grails&#8217; seamless integration with Spring and its support for robust database access through GORM, it is well-suited for enterprise-level applications. It is commonly used to build:</p>



<ul class="wp-block-list">
<li><strong>Customer Relationship Management (CRM)</strong> systems that require integration with other enterprise tools and data sources.</li>



<li><strong>Business Intelligence (BI)</strong> and reporting tools that need to manage large datasets and generate reports.</li>
</ul>



<h4 class="wp-block-heading"><strong>2.4 Data-Driven Applications</strong></h4>



<p class="wp-block-paragraph">Grails is an excellent choice for building data-driven applications that require complex data operations, reporting, and analysis. Its tight integration with Hibernate and GORM makes it easy to define complex relationships between objects and perform data manipulation operations.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>How Grails Works Along with Architecture</strong></h2>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="683" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-33-1024x683.png" alt="" class="wp-image-12560" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-33-1024x683.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-33-300x200.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-33-768x512.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-33.png 1536w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Grails is built on the Model-View-Controller (MVC) architecture, which is one of the most widely adopted software design patterns for web applications. Here’s how Grails fits into the architecture of a web application:</p>



<h4 class="wp-block-heading"><strong>3.1 The MVC Pattern</strong></h4>



<ul class="wp-block-list">
<li><strong>Model</strong>: In Grails, the model represents the domain objects of the application, often interacting with a database. These models are typically defined as Groovy classes and are managed by the Grails ORM (GORM). The model handles data storage, retrieval, and business logic.</li>



<li><strong>View</strong>: Grails uses GSP (Groovy Server Pages) to define the views. GSP files are similar to JSP (JavaServer Pages) but use Groovy’s syntax to embed dynamic content. Views render the data sent from the controller and allow users to interact with the application.</li>



<li><strong>Controller</strong>: The controller acts as an intermediary between the model and the view. It listens for user requests, processes them (often interacting with the model), and returns the appropriate view. Grails controllers are defined as Groovy classes and handle tasks like routing, validation, and service orchestration.</li>
</ul>



<h4 class="wp-block-heading"><strong>3.2 Spring Framework Integration</strong></h4>



<p class="wp-block-paragraph">Grails is tightly integrated with the Spring framework, which provides robust features for application development, including:</p>



<ul class="wp-block-list">
<li><strong>Dependency Injection</strong>: Grails leverages Spring&#8217;s dependency injection capabilities, allowing objects to be automatically injected into controllers, services, and other components. This simplifies development and testing.</li>



<li><strong>Security</strong>: Grails includes Spring Security plugins for authentication and authorization, making it easy to secure applications.</li>



<li><strong>Transaction Management</strong>: Grails uses Spring’s transaction management for consistent handling of database transactions, ensuring that data is processed in a reliable and atomic manner.</li>
</ul>



<h4 class="wp-block-heading"><strong>3.3 GORM (Grails Object-Relational Mapping)</strong></h4>



<p class="wp-block-paragraph">Grails’ ORM, GORM, abstracts away much of the complexity of interacting with relational databases. GORM simplifies database interactions by mapping domain classes to database tables, allowing developers to work with objects instead of writing SQL queries.</p>



<ul class="wp-block-list">
<li><strong>Automatic Table Creation</strong>: Grails automatically generates database tables based on domain classes, which reduces the amount of manual database schema creation.</li>



<li><strong>Querying</strong>: GORM provides a set of dynamic methods for querying the database, reducing the need for verbose SQL. Developers can use Groovy’s dynamic capabilities to perform complex queries in a concise manner.</li>
</ul>



<h4 class="wp-block-heading"><strong>3.4 Plugin Architecture</strong></h4>



<p class="wp-block-paragraph">Grails supports a plugin-based architecture, allowing developers to extend the functionality of their applications without having to write everything from scratch. Plugins are used to add features like:</p>



<ul class="wp-block-list">
<li><strong>Authentication</strong> (e.g., Spring Security Plugin)</li>



<li><strong>File Upload</strong> (e.g., Grails File Uploader Plugin)</li>



<li><strong>Data Visualization</strong> (e.g., Grails Charting Plugin)</li>
</ul>



<p class="wp-block-paragraph">This extensibility helps Grails remain flexible and adaptable for various use cases and ensures that developers can leverage community-contributed plugins to accelerate development.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>Basic Workflow of Grails</strong></h2>



<p class="wp-block-paragraph">The workflow of developing a Grails application follows a logical, easy-to-understand pattern that includes setting up the environment, creating domain classes, defining controllers, creating views, and running the application. Here is a breakdown of the basic workflow:</p>



<h4 class="wp-block-heading"><strong>4.1 Set Up Grails Environment</strong></h4>



<ol class="wp-block-list">
<li><strong>Install Grails</strong>: Grails is built on Groovy, so you need to install both Groovy and Grails. Grails can be installed via SDKMAN! or Homebrew (on macOS).</li>



<li><strong>Create a New Project</strong>: Use Grails&#8217; command-line tools to generate a new project. Run the following command to create a new Grails application: </li>
</ol>



<pre class="wp-block-code"><code>grails create-app myapp

This will generate a basic Grails project structure with directories for controllers, views, and domain classes.</code></pre>



<h4 class="wp-block-heading"><strong>4.2 Create Domain Classes</strong></h4>



<ol start="3" class="wp-block-list">
<li><strong>Define Domain Models</strong>: In Grails, domain classes represent the objects in your application and are mapped to database tables using GORM. Create domain classes to represent the entities in your application. </li>
</ol>



<pre class="wp-block-code"><code>class User {
    String username
    String password
}
</code></pre>



<h4 class="wp-block-heading"><strong>4.3 Create Controllers</strong></h4>



<ol start="4" class="wp-block-list">
<li><strong>Add Controllers</strong>: Grails uses controllers to handle incoming HTTP requests, process data, and return views. A controller is responsible for managing the logic behind a specific set of actions. </li>
</ol>



<p class="wp-block-paragraph"></p>



<pre class="wp-block-code"><code>class UserController {
    def index() {
        render view: 'index', model: [users: User.list()]
    }
}
</code></pre>



<h4 class="wp-block-heading"><strong>4.4 Create Views</strong></h4>



<ol start="5" class="wp-block-list">
<li><strong>Design Views</strong>: Grails uses Groovy Server Pages (GSP) to render views. GSP is similar to JSP but uses Groovy syntax to embed dynamic content. </li>
</ol>



<pre class="wp-block-code"><code>&lt;g:each in="${users}" var="user"&gt;
    &lt;p&gt;${user.username}&lt;/p&gt;
&lt;/g:each&gt;
</code></pre>



<h4 class="wp-block-heading"><strong>4.5 Run the Application</strong></h4>



<ol start="6" class="wp-block-list">
<li><strong>Start the Grails Server</strong>: Once the domain classes, controllers, and views are created, run the application using the Grails server: </li>
</ol>



<pre class="wp-block-code"><code><code>grails run-app</code>
The application will be hosted locally, usually at <span style="background-color: initial;font-family: inherit;font-size: inherit;color: initial">http://localhost:8080</span>.</code></pre>



<h4 class="wp-block-heading"><strong>4.6 Test and Deploy</strong></h4>



<ol start="7" class="wp-block-list">
<li><strong>Test the Application</strong>: Grails provides built-in testing tools for unit testing, integration testing, and functional testing. Run tests to ensure that the application works as expected.</li>



<li><strong>Deploy the Application</strong>: Once development and testing are complete, the Grails application can be packaged as a WAR file for deployment on a web server, or it can be deployed to cloud platforms such as Heroku, AWS, or Docker containers.</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>Step-by-Step Getting Started Guide for Grails</strong></h2>



<h4 class="wp-block-heading"><strong>Step 1: Install Grails</strong></h4>



<ol class="wp-block-list">
<li><strong>Install SDKMAN!</strong> (if not already installed): </li>
</ol>



<pre class="wp-block-code"><code>curl -s "https://get.sdkman.io" | bash</code></pre>



<ol class="wp-block-list">
<li><strong>Install Grails</strong> using SDKMAN!:</li>
</ol>



<pre class="wp-block-code"><code>sdk install grails</code></pre>



<h4 class="wp-block-heading"><strong>Step 2: Create a Grails Application</strong></h4>



<ol class="wp-block-list">
<li><strong>Generate a new Grails project</strong>:</li>
</ol>



<pre class="wp-block-code"><code>grails create-app myapp</code></pre>



<h4 class="wp-block-heading"><strong>Step 3: Create Domain Classes</strong></h4>



<ol class="wp-block-list">
<li><strong>Create a domain class</strong>:</li>
</ol>



<pre class="wp-block-code"><code>class Book {
    String title
    String author
}
</code></pre>



<h4 class="wp-block-heading"><strong>Step 4: Create a Controller</strong></h4>



<ol class="wp-block-list">
<li><strong>Create a controller to handle HTTP requests</strong>: </li>
</ol>



<pre class="wp-block-code"><code>class BookController {
    def index() {
        render view: 'index', model: [books: Book.list()]
    }
}
</code></pre>



<h4 class="wp-block-heading"><strong>Step 5: Define Views Using GSP</strong></h4>



<ol class="wp-block-list">
<li><strong>Create a view in the <code>grails-app/views</code> directory</strong> to display the data: </li>
</ol>



<pre class="wp-block-code"><code>&lt;g:each in="${books}" var="book"&gt;
    &lt;p&gt;${book.title} by ${book.author}&lt;/p&gt;
&lt;/g:each&gt;
</code></pre>



<h4 class="wp-block-heading"><strong>Step 6: Run the Application</strong></h4>



<ol class="wp-block-list">
<li><strong>Run the application</strong> using the command: </li>
</ol>



<pre class="wp-block-code"><code>grails run-app</code></pre>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/mastering-grails-use-cases-architecture-workflow-and-getting-started-guide/">Mastering Grails: Use Cases, Architecture, Workflow, and Getting Started Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/mastering-grails-use-cases-architecture-workflow-and-getting-started-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to run/execute groovy script in Jenkins?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-run-execute-groovy-script-in-jenkins/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-run-execute-groovy-script-in-jenkins/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 17 May 2018 04:14:47 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[Groovy plugin]]></category>
		<category><![CDATA[Jenkins script console]]></category>
		<category><![CDATA[Scriptler Plugins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4962</guid>

					<description><![CDATA[<p>Here are the List of way using you can apply grovy code in Jenkins Method -1: Groovy plugin This plugin [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-run-execute-groovy-script-in-jenkins/">How to run/execute groovy script in Jenkins?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-4978" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/groovy-script-in-Jenkins.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/groovy-script-in-Jenkins.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/groovy-script-in-Jenkins-300x175.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>Here are the List of way using you can apply grovy code in Jenkins</p>
<p><strong>Method -1: Groovy plugin</strong><br />
This plugin adds the ability to directly execute Groovy code.<br />
More info &#8211; https://wiki.jenkins.io/display/JENKINS/Groovy+plugin</p>
<p><strong>Method -2: Jenkins script console</strong><br />
The inbuilt script console is a very useful and powerful Jenkins extension and ideally suits certain types of tasks. This simple but powerful built-in web console allows you to run Groovy scripts on your Jenkins instance (or its slave nodes) from directly within the user interface, and is installed as standard.</p>
<p>To access the console, either navigate to Manage Jenkins and then select Script Console, or simply append /script to your Jenkins host and port, like this for example: http://jenkinshost:8080/script<br />
Running Script Console on the master<br />
This feature can be accessed from &#8220;Manage Jenkins&#8221; &gt; &#8220;Script Console&#8221;. Or visit the sub-URL /script on your Jenkins instance.</p>
<p>Running Script Console on agents<br />
Visit &#8220;Manage Jenkins&#8221; &gt; &#8220;Manage Nodes&#8221;. Select any node to view the status page. In the menu on the left, a menu item is available to open a &#8220;Script Console&#8221; on that specific agent.</p>
<p>More info &#8211; https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console</p>
<p><strong>Method -3: Scriptler Plugins</strong><br />
Scriptler allows you to store/edit groovy scripts and execute it on any of the slaves/nodes&#8230; no need to copy/paste groovy code anymore.<br />
More Info &#8211; https://wiki.jenkins.io/display/JENKINS/Scriptler+Plugin</p>
<p><strong>Reference</strong></p>
<p>https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console</p>
<p><iframe loading="lazy" title="Jenkins World 2017: Mastering the Jenkins Script Console" width="900" height="506" src="https://www.youtube.com/embed/qaUPESDcsGg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>&nbsp;</p>
<p><iframe loading="lazy" title="Jenkins Area Meetup - Hacking on Jenkins Internals - Jenkins Script Console" width="900" height="675" src="https://www.youtube.com/embed/T1x2kCGRY1w?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-run-execute-groovy-script-in-jenkins/">How to run/execute groovy script in Jenkins?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-run-execute-groovy-script-in-jenkins/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Database of Groovy Script for Jenkins Automation</title>
		<link>https://www.scmgalaxy.com/tutorials/database-of-groovy-script-for-jenkins-automation/</link>
					<comments>https://www.scmgalaxy.com/tutorials/database-of-groovy-script-for-jenkins-automation/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 17 May 2018 04:10:33 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[groovy]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4960</guid>

					<description><![CDATA[<p>Here are the list of Groovy Script which can be used in Jenkins to automate the JOBs and CI process. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/database-of-groovy-script-for-jenkins-automation/">Database of Groovy Script for Jenkins Automation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone  wp-image-4987" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/groovy-script-jenkins-automation-1.png" alt="" width="603" height="352" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/groovy-script-jenkins-automation-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/groovy-script-jenkins-automation-1-300x175.png 300w" sizes="auto, (max-width: 603px) 100vw, 603px" /></p>
<p>Here are the list of Groovy Script which can be used in Jenkins to automate the JOBs and CI process. Please add your list in the comment sections as well.</p>
<p><strong>Main Source &#8211; </strong></p>
<ul>
<li>https://github.com/scmgalaxy/jenkins-groovy-script-example</li>
<li>https://github.com/cloudbees/jenkins-scripts</li>
<li>https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console</li>
<li>https://pghalliday.com/jenkins/groovy/sonar/chef/configuration/management/2014/09/21/some-useful-</li>
<li>jenkins-groovy-scripts.html</li>
<li>https://github.com/cloudbees/jenkins-scripts</li>
<li>https://github.com/jenkinsci/jenkins-scripts</li>
<li>https://gist.github.com/dnozay/e7afcf7a7dd8f73a4e05</li>
<li>https://github.com/samrocketman/jenkins-bootstrap-shared</li>
<li>https://github.com/samrocketman/jenkins-script-console-scripts</li>
</ul>
<p><strong>Example Groovy Script </strong></p>
<ul class="childpages-macro conf-macro output-block" data-hasbody="false" data-macro-name="children">
<li><a href="https://wiki.jenkins.io/display/JENKINS/Activate+Chuck+Norris+Plugin">Activate Chuck Norris Plugin</a> — <span class="smalltext">This script activates Chuck Norris plugin for all jobs in your Jenkins server</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Add+a+Maven+Installation%2C+Tool+Installation%2C+Modify+System+Config">Add a Maven Installation, Tool Installation, Modify System Config</a></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Add+a+new+label+to+slaves+meeting+a+condition">Add a new label to slaves meeting a condition</a> — <span class="smalltext">This script shows how to alter the slave nodes&#8217; label membership. In this case we create a new label if the existing label contains a string. It has been tested from the Jenkins command window.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Add+notification+plugin+to+every+job">Add notification plugin to every job</a> — <span class="smalltext">This script will add the Notification Plugin to every job.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Allow+broken+build+claiming+on+every+jobs">Allow broken build claiming on every jobs</a> — <span class="smalltext">With the following simple script, you can activate the option on every jobs of your server in just one go.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Batch-Update+Mercurial+branch+that+is+checked+out">Batch-Update Mercurial branch that is checked out</a> — <span class="smalltext">Updates for multiple jobs which branch will be checked out from Hg</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Bulk+rename+projects">Bulk rename projects</a></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Change+JVM+Options+in+all+Maven+tasks+of+Freestyle+Jobs">Change JVM Options in all Maven tasks of Freestyle Jobs</a> — <span class="smalltext">This script find all Maven Tasks registered in freestyle jobs and replace JVM Options by a new value.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Change+publish+over+SSH+configuration">Change publish over SSH configuration</a></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Change+SCMTrigger+for+each+project+to+disable+during+the+night+and+the+week-end">Change SCMTrigger for each project to disable during the night and the week-end</a> — <span class="smalltext">This script lets you easily change all jobs running every minutes so that it gets disabled between 21:00 and 07:00 and on Saturday and Sunday.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Change+Version-Number+in+SVN-path">Change Version-Number in SVN-path</a></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Clone+all+projects+in+a+View">Clone all projects in a View</a> — <span class="smalltext">This script enumerates all projects belonging to a specific view and clones them.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Convert+standard+mail+notifications+to+use+the+Mail-Ext+Publisher+plugin">Convert standard mail notifications to use the Mail-Ext Publisher plugin</a> — <span class="smalltext">This script replace mail notifications in all projects by Mail-Ext publisher plugin and re-uses existing recipients.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Delete+.tmp+files+left+in+workspace-files">Delete .tmp files left in workspace-files</a> — <span class="smalltext">This scripts deletes all the tmp files left in workspace-files directory after the build. On windows servers, this seems pretty common so we run this script on daily basis.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Delete+workspace+for+all+disabled+jobs">Delete workspace for all disabled jobs</a> — <span class="smalltext">Deletes the workspace for all disabled jobs to save space</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Disable+all+jobs">Disable all jobs</a> — <span class="smalltext">This script disables all jobs in your Jenkins server</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Display+Information+About+Nodes">Display Information About Nodes</a> — <span class="smalltext">This scripts displays a bunch of information about all the slave nodes.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Display+job+parameters">Display job parameters</a> — <span class="smalltext">This scripts displays the parameters for all the jobs along with their default values (if applicable).</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Display+jobs+group+by+the+build+steps+they+use">Display jobs group by the build steps they use</a></li>
<li><a href="https://wiki.jenkins.io/pages/viewpage.action?pageId=67569264">Display list of projects that were built more than 1 day ago.</a> — <span class="smalltext">This script to display list of projects that were built more than 1 day ago.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Display+mail+notifications+recipients">Display mail notifications recipients</a> — <span class="smalltext">This script displays for all jobs the list of mail recipients used for notifications.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Display+monitors+status">Display monitors status</a> — <span class="smalltext">Jenkins uses monitors to validate various behaviors. If you dismiss one, Jenkins will never propose you to reactivate it. This script allows you to check the status of all monitors and to reactive them.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Display+timer+triggers">Display timer triggers</a> — <span class="smalltext">This scripts displays the timer triggers for all the jobs in order to better arrange them.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Display+Tools+Location+on+All+Nodes">Display Tools Location on All Nodes</a> — <span class="smalltext">This script can help to get Jenkins tools localtion on all your slaves</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Enable+Timestamper+plugin+on+all+jobs">Enable Timestamper plugin on all jobs</a> — <span class="smalltext">With the following simple script, you can activate the option on every jobs of your server in just one go.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Failed+Jobs">Failed Jobs</a> — <span class="smalltext">This scripts displays a list of all failed jobs. Addon: restart them.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Find+builds+currently+running+that+has+been+executing+for+more+than+N+seconds">Find builds currently running that has been executing for more than N seconds</a></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Grant+Cancel+Permission+for+user+and+group+that+have+Build+permission">Grant Cancel Permission for user and group that have Build permission</a> — <span class="smalltext">This script will go through all groups and users in both Global security and per job security settings.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Invalidate+Jenkins+HTTP+sessions">Invalidate Jenkins HTTP sessions</a> — <span class="smalltext">This script can monitor and invalidate HTTP sessions if there are many open ones on your server.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Manually+run+log+rotation+on+all+jobs">Manually run log rotation on all jobs</a> — <span class="smalltext">Runs log rotation on all jobs to free space</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Monitor+and+Restart+Offline+Slaves">Monitor and Restart Offline Slaves</a> — <span class="smalltext">This script can monitor and restart offline nodes if they are not disconnected manually.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Monitoring+Scripts">Monitoring Scripts</a> — <span class="smalltext">Several scripts to display data about http sessions, threads, memory, JVM or MBeans, when using the Monitoring plugin.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Parameterized+System+Groovy+script">Parameterized System Groovy script</a> — <span class="smalltext">This script will demonstrate how to get parameters in a system groovy script.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Preselect+username+in+Maven+Release+Build">Preselect username in Maven Release Build</a></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Printing+a+list+of+credentials+and+their+IDs">Printing a list of credentials and their IDs</a></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Remove+all+disabled+modules+in+Maven+jobs">Remove all disabled modules in Maven jobs</a> — <span class="smalltext">To remove all disabled modules in Maven jobs</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Remove+Deployed+Artifacts+Actions">Remove Deployed Artifacts Actions</a> — <span class="smalltext">This script is used to remove the Deployed Artifacts list that is uselessly stored for each build by the Artifact Deployer Plugin.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData">Remove Git Plugin BuildsByBranch BuildData</a> — <span class="smalltext">This script is used to remove the static list of BuildsByBranch that is uselessly stored for each build by the Git Plugin.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Set+GitBlitRepositoryBrowser+with+custum+settings+on+all+repos">Set GitBlitRepositoryBrowser with custum settings on all repos</a> — <span class="smalltext">This scripts allows to update the repo browser. Can be adapted to any other browser, not only gitblit.</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Update+maven+jobs+to+use+the+post+build+task+to+deploy+artifacts">Update maven jobs to use the post build task to deploy artifacts</a> — <span class="smalltext">This script updates all maven jobs having a deploy goal by install and activate the post build step to deploy artifacts at the end of the build</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Update+SVN+Browser">Update SVN Browser</a></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Wipe+out+workspaces+of+all+jobs">Wipe out workspaces of all jobs</a> — <span class="smalltext">This script wipes out the workspaces of all jobs on your Jenkins server</span></li>
<li><a href="https://wiki.jenkins.io/display/JENKINS/Wipe+workspaces+for+a+set+of+jobs+on+all+nodes">Wipe workspaces for a set of jobs on all nodes</a> — <span class="smalltext">The script wipes workspaces of certain jobs on all nodes</span></li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/database-of-groovy-script-for-jenkins-automation/">Database of Groovy Script for Jenkins Automation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/database-of-groovy-script-for-jenkins-automation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>groovy.lang.MissingPropertyException: No such property: CASE for class</title>
		<link>https://www.scmgalaxy.com/tutorials/groovy-lang-missingpropertyexception-no-such-property-case-for-class/</link>
					<comments>https://www.scmgalaxy.com/tutorials/groovy-lang-missingpropertyexception-no-such-property-case-for-class/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:13:39 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[groovy]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2046</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: groovy.lang.MissingPropertyException: No such property: CASE for class Error Started by user Rajesh Kumar [EnvInject] &#8211; Loading [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/groovy-lang-missingpropertyexception-no-such-property-case-for-class/">groovy.lang.MissingPropertyException: No such property: CASE for class</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: groovy.lang.MissingPropertyException: No such property: CASE for class</strong><br />
Error<br />
Started by user Rajesh Kumar<br />
[EnvInject] &#8211; Loading node environment variables.<br />
[EnvInject] &#8211; Preparing an environment for the build.<br />
[EnvInject] &#8211; Keeping Jenkins system variables.<br />
[EnvInject] &#8211; Keeping Jenkins build variables.<br />
[EnvInject] &#8211; Evaluation the following Groovy script content:<br />
if (CASE==null){<br />
return null;<br />
}<br />
def stringValue=&#8221;StRinG&#8221;;<br />
if (&#8220;upper&#8221;.equals(CASE)){<br />
def map = [product: stringValue.toUpperCase()]<br />
return map<br />
}</p>
<p>if (&#8220;lower&#8221;.equals(CASE)){<br />
def map = [product: stringValue.toLowerCase()]<br />
return map<br />
}</p>
<p>FATAL: No such property: CASE for class: Script1<br />
groovy.lang.MissingPropertyException: No such property: CASE for class: Script1<br />
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)<br />
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)<br />
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)<br />
at Script1.run(Script1.groovy:1)<br />
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580)<br />
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618)<br />
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)<br />
at org.jenkinsci.plugins.envinject.service.EnvInjectEnvVars.executeAndGetMapGroovyScript(EnvInjectEnvVars.java:142)<br />
at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironmentJobPropertyObject(EnvInjectListener.java:188)<br />
at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:44)<br />
at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:575)<br />
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:481)<br />
at hudson.model.Run.execute(Run.java:1688)<br />
at hudson.model.Run.run(Run.java:1635)<br />
at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:153)<br />
at hudson.model.ResourceController.execute(ResourceController.java:88)<br />
at hudson.model.Executor.run(Executor.java:231)<br />
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/groovy-lang-missingpropertyexception-no-such-property-case-for-class/">groovy.lang.MissingPropertyException: No such property: CASE for class</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/groovy-lang-missingpropertyexception-no-such-property-case-for-class/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top 10 Scripting Languages in DevOps &#124; List of Best Scripting Languages</title>
		<link>https://www.scmgalaxy.com/tutorials/top-10-scripting-languages-in-devops/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-10-scripting-languages-in-devops/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 27 Apr 2017 23:04:16 +0000</pubDate>
				<category><![CDATA[Programming Scripting Languages]]></category>
		<category><![CDATA[Ansible]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Best]]></category>
		<category><![CDATA[Best scripting languages]]></category>
		<category><![CDATA[Chef]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[Go language]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[List of scripting languages]]></category>
		<category><![CDATA[Microsoft PowerShell]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming Language]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Scripting Language]]></category>
		<category><![CDATA[Top]]></category>
		<category><![CDATA[Top scripting languages]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/04/27/top-10-scripting-languages-in-devops/</guid>

					<description><![CDATA[<p>This is the time of DevOps in software industry and DevOps uses different different languages for deployment automation and for [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-10-scripting-languages-in-devops/">Top 10 Scripting Languages in DevOps | List of Best Scripting Languages</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="size-full wp-image-2906 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/top-10-scripting-languages-.png" alt="top-10-scripting-languages-in-devops" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/top-10-scripting-languages-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/top-10-scripting-languages--300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div></div>
<div style="text-align: justify;">This is the time of DevOps in software industry and DevOps uses different different languages for deployment automation and for software development. This is the reason if you are a DevOps professional and want to be succeed in DevOps role than command on scripting languages is must. But, one can not be a master of all. Right? Therefore, In this article I am going to share a list of top 10 scripting languages which will be useful for your DevOps journey.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">But before that let&#8217;s have a quick look on Scripting language.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Scripting languages are programming languages that communicate and integrate with other programming languages. In other words, scripting languages controlls interactive programs operations by giving it sequence of work to execute by one command at a time.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Now, let&#8217;s look on to the list of top 10 scripting languages</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">
<p><strong>1. Microsoft PowerShell</strong></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-652 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/powershell-language.png" alt="Microsoft PowerShell" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/powershell-language.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/powershell-language-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Microsoft powershell</strong> or powershell is belongs to Microsoft and an open source cross platform scripting language. If you have application infrastructure with windows than powershell is must for you. This scripting language is designed for system admins.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>2. Puppet</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-653 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/puppet-language.png" alt="Puppet" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/puppet-language.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/puppet-language-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"><strong>Puppet</strong> is a configuration management tool and it has it&#8217;s own declarative language to describe system configuration. It runs on Linux, Unix-like and also on Windows. This one is available under Apache 2.7.0 and General Pubic license.  Puppet uses a custom declarative language, it just needs to specify ‘what’ action needs to be performed on the resources.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>3. Chef</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-654 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/chef-language.png" alt="Chef" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/chef-language.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/chef-language-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"><strong>Chef</strong> is basically known as configuration management which belongs to chef is also a scripting language which is designed by David Morgan. It makes programs look like cooking any food.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>4. Bash</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-655 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/bash-scripting.png" alt="Bash" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/bash-scripting.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/bash-scripting-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"><strong>Bash</strong> is basically a command language which is available in open source and written by Brian Fox in the year 1989. It can read scripts and Bash is the most commonly used Unix shell. Bash supports Linux, Windows and Mac OS.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>5. Ruby</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-656 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/ruby-language.png" alt="Ruby" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/ruby-language.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/ruby-language-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"><strong>Ruby</strong> is amongst one of the best programming language but it is also a scripting language which is written by Yukihiro Matsumoto in the year 1995. Ruby supports cross platforms and it is available under GPL and BSD license. It supports multiple programming paradigms, including functional, object-oriented, and imperative.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>6. Ansible</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-657 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/ansible-langugae.png" alt="Ansible" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/ansible-langugae.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/ansible-langugae-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"><strong>Ansible</strong> is known as configuration management and application deployment tool but it is also amongst top scripting languages. This language is belongs to Ansible Inc. and written by their community members. It supports Linux, Unix-like and Windows operating system.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>7. Perl</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-658 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/perl-language.png" alt="Perl" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/perl-language.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/perl-language-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"><strong>Perl</strong> is a scripting language which is used for advanced web applications development. Perl is written by Larry Wall and first released in the year 1987. Perl supports cross platforms. Perl is available under general public license.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>8. Python</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-659 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/python-language.png" alt="Python" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/python-language.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/python-language-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"><strong>Python</strong> is also amongst the top scripting languages which is used for high level of programming. It was first released in the year 1991 by Guido van Rossum. python is available under Python Software Foundation License. It&#8217;s supports Cross-platform.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>9. Go language</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-660 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/go-language.png" alt="Go language" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/go-language.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/go-language-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"><strong>Go scripting</strong> language belongs to the Internet giant Google. This scripting language is written by Robert Griesemer, Rob Pike and Ken Thompson and it was released in the year 2009. It supports  Linux, macOS, FreeBSD, NetBSD, OpenBSD, Windows, Plan 9, DragonFly BSD and Solaris operating systems. It is available in open source.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>10. Groovy</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-661 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/groovy-lang.png" alt="Groovy" width="450" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/groovy-lang.png 450w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/groovy-lang-300x167.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
</div>
<div style="text-align: justify;"><strong>Groovy</strong> can be used as a scripting language and it is also consider as a top scripting languages for DevOps professionals. It was designed by James Strachan and developed by Guillaume Laforge, Jochen Theodorou, Paul King and Cedric Champeau. It was first released in the year 2003 and available under Apache license. It supports Java platform.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Do you agree with this list? If not than feel free to respond in the comment box with your own take on the most essential scripting languages. One more thing, I would like to add here, if you need help to learn all these scripting languages and DevOps courses than scmGalaxy can help you in this. <a href="courses/index.html" target="_blank" rel="noopener"><strong>scmGalaxy</strong> </a>is a community of DevOps professionals who are well experienced in this domain.</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-10-scripting-languages-in-devops/">Top 10 Scripting Languages in DevOps | List of Best Scripting Languages</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/top-10-scripting-languages-in-devops/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
