<?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 plugin Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/groovy-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/groovy-plugin/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:07:03 +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>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 fetchpriority="high" 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 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 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>
	</channel>
</rss>
