<?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>Jenkins Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/jenkins/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/jenkins/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 21 Feb 2026 07:13:30 +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>Jenkins: A Comprehensive Guide to Architecture, Use Cases, Workflow, and Getting Started</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-a-comprehensive-guide-to-architecture-use-cases-workflow-and-getting-started/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-a-comprehensive-guide-to-architecture-use-cases-workflow-and-getting-started/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Thu, 22 May 2025 16:46:14 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BuildAutomation]]></category>
		<category><![CDATA[CI_CD]]></category>
		<category><![CDATA[ContinuousDelivery]]></category>
		<category><![CDATA[ContinuousIntegration]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PipelineAsCode]]></category>
		<category><![CDATA[SoftwareDelivery]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12394</guid>

					<description><![CDATA[<p>What is Jenkins? Jenkins is a widely adopted open-source automation server designed to facilitate continuous integration (CI) and continuous delivery/deployment [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-a-comprehensive-guide-to-architecture-use-cases-workflow-and-getting-started/">Jenkins: A Comprehensive Guide to Architecture, Use Cases, Workflow, and Getting Started</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full is-resized"><img fetchpriority="high" decoding="async" width="600" height="315" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-89.png" alt="" class="wp-image-12400" style="width:838px;height:auto" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-89.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-89-300x158.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



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



<h2 class="wp-block-heading">What is Jenkins?</h2>



<p class="wp-block-paragraph">Jenkins is a widely adopted open-source automation server designed to facilitate continuous integration (CI) and continuous delivery/deployment (CD) in software development. Jenkins automates repetitive tasks such as building, testing, and deploying code, enabling development teams to improve code quality, accelerate release cycles, and enhance collaboration.</p>



<p class="wp-block-paragraph">Originally released in 2011 as a fork of the Hudson project, Jenkins has evolved into the de facto CI/CD tool due to its rich plugin ecosystem, extensibility, and ease of integration with other tools. It provides a web-based interface for managing pipelines and jobs, supporting diverse programming languages, build tools, version control systems, and deployment environments.</p>



<p class="wp-block-paragraph">By automating the entire software delivery pipeline—from code commit to production deployment—Jenkins helps organizations adopt DevOps practices, reduce manual errors, and achieve rapid feedback cycles.</p>



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



<h2 class="wp-block-heading">Major Use Cases of Jenkins</h2>



<p class="wp-block-paragraph">Jenkins serves multiple critical roles across the software development lifecycle. Some of the key use cases include:</p>



<h3 class="wp-block-heading">1. Continuous Integration (CI)</h3>



<p class="wp-block-paragraph">Jenkins automates the process of integrating code changes from multiple developers into a shared repository multiple times a day. Upon each commit, Jenkins triggers builds and runs automated tests, helping teams identify integration issues early and prevent &#8220;integration hell.&#8221;</p>



<h3 class="wp-block-heading">2. Continuous Delivery (CD) and Continuous Deployment</h3>



<p class="wp-block-paragraph">Beyond integration, Jenkins automates packaging, staging, and deployment of applications. Continuous Delivery ensures the software can be released to production at any time, while Continuous Deployment automatically pushes every change passing tests into production.</p>



<h3 class="wp-block-heading">3. Automated Testing</h3>



<p class="wp-block-paragraph">Integration with testing frameworks enables Jenkins to run unit tests, integration tests, UI tests, performance tests, and security scans automatically as part of the pipeline. It helps maintain code quality by catching defects early.</p>



<h3 class="wp-block-heading">4. Build Automation</h3>



<p class="wp-block-paragraph">Jenkins automates compiling source code, managing dependencies, packaging binaries, and generating documentation. It supports a wide range of build tools like Maven, Gradle, Ant, and npm.</p>



<h3 class="wp-block-heading">5. Infrastructure as Code and Configuration Management</h3>



<p class="wp-block-paragraph">Jenkins pipelines can trigger infrastructure provisioning and configuration management workflows using tools like Terraform, Ansible, Puppet, or Chef, enabling automated environment setup and scaling.</p>



<h3 class="wp-block-heading">6. Multi-Platform and Cross-Language Support</h3>



<p class="wp-block-paragraph">Jenkins supports building and testing applications across different operating systems (Windows, Linux, macOS) and programming languages (Java, Python, Go, Ruby, .NET), making it suitable for heterogeneous environments.</p>



<h3 class="wp-block-heading">7. DevOps and Pipeline as Code</h3>



<p class="wp-block-paragraph">Using Jenkinsfile (a Groovy-based DSL), teams define complex CI/CD pipelines as code, version-controlled alongside application code, enabling reproducible and auditable workflows.</p>



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



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



<figure class="wp-block-image size-full is-resized"><img decoding="async" width="769" height="509" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-90.png" alt="" class="wp-image-12401" style="width:829px;height:auto" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-90.png 769w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-90-300x199.png 300w" sizes="(max-width: 769px) 100vw, 769px" /></figure>



<p class="wp-block-paragraph">Jenkins’ architecture is modular and scalable, designed around a master-agent model to efficiently manage workloads and distribute builds.</p>



<h3 class="wp-block-heading">Core Components</h3>



<ul class="wp-block-list">
<li><strong>Jenkins Master</strong> The master is the central orchestrator. It provides the user interface (web UI), schedules build jobs, dispatches build tasks to agents, manages plugins, and maintains build results and logs. The master also handles configuration, security, and API requests.</li>



<li><strong>Build Agents (Slaves)</strong> Agents are worker nodes connected to the master that execute build jobs. Agents can run on different machines, operating systems, or cloud providers, enabling distributed and parallel build execution. This architecture enhances scalability and fault tolerance.</li>
</ul>



<h3 class="wp-block-heading">Build Pipeline Architecture</h3>



<ol class="wp-block-list">
<li><strong>Job Definition</strong> Users configure jobs or pipelines on the Jenkins master either through the UI or via Jenkinsfile scripts stored in source control. Jobs specify source code repositories, build triggers, build steps, test suites, post-build actions, and notifications.</li>



<li><strong>Trigger Mechanism</strong> Builds can be triggered automatically on events such as code commits (via webhooks), scheduled times (cron), or manually by users. Jenkins also supports pipeline triggers from other jobs or external systems.</li>



<li><strong>Task Scheduling and Execution</strong> The master assigns builds to available agents based on labels, resource availability, or predefined criteria. Agents pull source code from repositories, execute build commands, run tests, package artifacts, and perform deployments.</li>



<li><strong>Result Aggregation and Reporting</strong> Build results and logs are sent back to the master, which updates dashboards, archives artifacts, and notifies stakeholders through email, Slack, or other messaging services.</li>
</ol>



<h3 class="wp-block-heading">Plugin Ecosystem</h3>



<p class="wp-block-paragraph">Jenkins’ extensibility comes from a vast ecosystem of plugins (~1800+) that integrate with source control (Git, SVN), build tools (Maven, Gradle), testing frameworks (JUnit, Selenium), container platforms (Docker, Kubernetes), deployment tools, notifications, and security systems.</p>



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



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



<p class="wp-block-paragraph">The typical Jenkins workflow in a modern CI/CD pipeline follows these steps:</p>



<h3 class="wp-block-heading">1. Source Code Commit</h3>



<p class="wp-block-paragraph">Developers push code changes to a version control system such as GitHub, Bitbucket, or GitLab.</p>



<h3 class="wp-block-heading">2. Build Trigger</h3>



<p class="wp-block-paragraph">A webhook or polling mechanism in Jenkins detects the commit and triggers a build job or pipeline.</p>



<h3 class="wp-block-heading">3. Code Checkout</h3>



<p class="wp-block-paragraph">Jenkins checks out the latest code to a clean workspace on a build agent.</p>



<h3 class="wp-block-heading">4. Build Execution</h3>



<p class="wp-block-paragraph">The agent compiles the code, resolves dependencies, and builds executables or packages.</p>



<h3 class="wp-block-heading">5. Automated Testing</h3>



<p class="wp-block-paragraph">Automated tests run on the build artifacts to validate functionality, integration, performance, or security.</p>



<h3 class="wp-block-heading">6. Artifact Archiving</h3>



<p class="wp-block-paragraph">Build artifacts such as binaries, Docker images, or reports are archived on Jenkins or uploaded to artifact repositories like Nexus or Artifactory.</p>



<h3 class="wp-block-heading">7. Deployment (Optional)</h3>



<p class="wp-block-paragraph">If tests pass, Jenkins can deploy the build to staging, QA, or production environments using shell scripts, configuration management tools, or cloud APIs.</p>



<h3 class="wp-block-heading">8. Notifications and Reporting</h3>



<p class="wp-block-paragraph">Developers and stakeholders receive notifications of build status via email, Slack, or dashboard updates, allowing rapid response to failures.</p>



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



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



<h3 class="wp-block-heading">Step 1: Install Jenkins</h3>



<ul class="wp-block-list">
<li><strong>Linux Installation (Ubuntu Example):</strong> <code>wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb https://pkg.jenkins.io/debian binary/ &gt; /etc/apt/sources.list.d/jenkins.list' sudo apt update sudo apt install jenkins sudo systemctl start jenkins sudo systemctl enable jenkins</code></li>



<li><strong>Windows/macOS:</strong><br>Download and install Jenkins from <a href="https://jenkins.io/download/">https://jenkins.io/download/</a>.</li>



<li><strong>Docker:</strong> <code>docker run -p 8080:8080 -p 50000:50000 jenkins/jenkins:lts</code></li>
</ul>



<h3 class="wp-block-heading">Step 2: Access Jenkins UI</h3>



<ul class="wp-block-list">
<li>Open <code>http://localhost:8080</code> in your browser.</li>



<li>Retrieve the initial admin password from <code>/var/lib/jenkins/secrets/initialAdminPassword</code>.</li>



<li>Install suggested plugins via setup wizard.</li>



<li>Create an admin user.</li>
</ul>



<h3 class="wp-block-heading">Step 3: Configure Jenkins</h3>



<ul class="wp-block-list">
<li>Set up global tools like JDK, Git, Maven, and Docker.</li>



<li>Configure credentials for source control and deployment systems.</li>



<li>Set security and access control policies.</li>
</ul>



<h3 class="wp-block-heading">Step 4: Create Your First Job</h3>



<ul class="wp-block-list">
<li>Click “New Item.”</li>



<li>Choose “Freestyle Project” or “Pipeline.”</li>



<li>Configure SCM repository URL.</li>



<li>Add build steps (e.g., Maven build, shell scripts).</li>



<li>Configure build triggers (e.g., Poll SCM, webhook).</li>
</ul>



<h3 class="wp-block-heading">Step 5: Run and Monitor Builds</h3>



<ul class="wp-block-list">
<li>Start builds manually or by pushing code.</li>



<li>Monitor build progress via console logs.</li>



<li>Review test reports and archived artifacts.</li>
</ul>



<h3 class="wp-block-heading">Step 6: Define Pipeline as Code</h3>



<ul class="wp-block-list">
<li>Create a <code>Jenkinsfile</code> in your repo with pipeline stages: <code>pipeline { agent any stages { stage('Build') { steps { sh 'mvn clean package' } } stage('Test') { steps { sh 'mvn test' } } stage('Deploy') { steps { sh './deploy.sh' } } } }</code></li>



<li>Create a pipeline job in Jenkins linked to your repository to run this file.</li>
</ul>



<h3 class="wp-block-heading">Step 7: Scale with Agents and Plugins</h3>



<ul class="wp-block-list">
<li>Add build agents (via SSH, Docker, Kubernetes).</li>



<li>Install plugins for notifications, code analysis, container support.</li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-a-comprehensive-guide-to-architecture-use-cases-workflow-and-getting-started/">Jenkins: A Comprehensive Guide to Architecture, Use Cases, Workflow, and Getting Started</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-a-comprehensive-guide-to-architecture-use-cases-workflow-and-getting-started/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to execute grovvy script remotely on Jenkins server?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-execute-grovvy-script-remotely-on-jenkins-server/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-execute-grovvy-script-remotely-on-jenkins-server/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 17 May 2018 04:17:02 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[grovvy]]></category>
		<category><![CDATA[Remotely]]></category>
		<category><![CDATA[script]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4964</guid>

					<description><![CDATA[<p>A Jenkins Admin can execute groovy scripts remotely by sending an HTTP POST request to /script/ url or /scriptText/. curl [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-execute-grovvy-script-remotely-on-jenkins-server/">How to execute grovvy script remotely on Jenkins server?</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-4975" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-server-and-groovy.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-server-and-groovy.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-server-and-groovy-300x175.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>A Jenkins Admin can execute groovy scripts remotely by sending an HTTP POST request to /script/ url or /scriptText/.</p>
<p><strong>curl example via bash</strong></p>
<pre class="brush: plain; title: ; notranslate">
curl -d &quot;script=&amp;lt;your_script_here&amp;gt;&quot; https://jenkins/script
# or to get output as a plain text result (no HTML)
curl -d &quot;script=&amp;lt;your_script_here&amp;gt;&quot; https://jenkins/scriptText
</pre>
<p><strong>curl submitting groovy file via bash</strong></p>
<pre class="brush: plain; title: ; notranslate">
curl --data-urlencode &quot;script=$(&amp;lt; ./somescript.groovy)&quot; https://jenkins/scriptText
</pre>
<p><strong>curl submitting groovy file providing username and password via bash</strong></p>
<pre class="brush: plain; title: ; notranslate">
curl --user 'username:password' --data-urlencode &quot;script=$(&amp;lt; ./somescript.groovy)&quot; https://jenkins/scriptText
</pre>
<p><strong>Jenkins CLI offers the possibility to execute groovy scripts remotely using groovy command or execute groovy interactivelly via groovysh.</strong></p>
<pre class="brush: plain; title: ; notranslate">
java -jar jenkins-cli.jar -noCertificateCheck -s https://10.0.0.91/ groovy disableEnableJobsMatchingPattern.groovy jobPattern=build_git_auto disableOrEnable=disable --username 12345 --password banana
</pre>
<p><strong>Reference</strong><br />
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><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>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-execute-grovvy-script-remotely-on-jenkins-server/">How to execute grovvy script remotely on Jenkins server?</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-execute-grovvy-script-remotely-on-jenkins-server/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 loading="lazy" 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="auto, (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>Jenkins Architecture Explained!!!</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-architecture-explained/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-architecture-explained/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 15 May 2018 13:19:11 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[master]]></category>
		<category><![CDATA[slave]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4955</guid>

					<description><![CDATA[<p>Jenkins is continuous integration tools which help to integrate other tools to automate the software development activity and repetitive tasks. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-architecture-explained/">Jenkins Architecture Explained!!!</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 size-full wp-image-4990" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-architecture-explained.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-architecture-explained.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-architecture-explained-300x175.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Jenkins is continuous integration tools which help to integrate other tools to automate the software development activity and repetitive tasks. Jenkins has 2 releases. One, Community version which open source and free and another one is Jenkins Enterprise which is from Cloud bees for enterprise. Jenkins is extremely powerful with vast amount of plug-in supported. Jenkins is one of the most active open source projects so learning and finding the information is easily available on the internet. Jenkins uses master/slave architecture to manage distributed builds.<br />
Jenkins Architecture</p>
<p>Jenkins Architecture is based on the distributed. This has 2 components.</p>
<ul>
<li>Jenkins Server</li>
<li>Jenkins Node/Slave/Build Server</li>
</ul>
<p>Jenkins server is a web dashboard which is nothing but powered from a war file, default run on 8080 ports. Using Dashboard, You can configure the Jobs/Projects but the build takes place in Nodes/Slave. By default one Nodes/Slave is configured and running in Jenkins Server. You can add more Nodes/Slave as well using IP address, user name, Password using the ssh/jnlp/webstart methods.</p>
<p>Your main Jenkins server is the master. In short, the master’s job is to handle scheduling build jobs, dispatching builds to the slaves for the actual execution, monitor the slaves (possibly taking them online and offline as required) and recording and presenting the build results. Even in a distributed architecture, a master instance of Jenkins can also execute build jobs directly.</p>
<p>The job of the slaves is to do as they are configured in the Jenkins Server, which involves executing build jobs dispatched by the master. You can configure a project to always run on a particular slave machine, or a particular type of slave machine, or simply let Jenkins pick the next available slave.<br />
Jenkins is developed using Java and Java is platform independent thus Jenkins servers and nodes/slave can be configured in any servers including Windows, Linux and Mac.</p>
<p><a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-architecture-master-slave.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-4956" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-architecture-master-slave.jpg" alt="" width="600" height="425" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-architecture-master-slave.jpg 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/jenkins-architecture-master-slave-300x213.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-architecture-explained/">Jenkins Architecture Explained!!!</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-architecture-explained/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference between jenkins and Urbancode build</title>
		<link>https://www.scmgalaxy.com/tutorials/difference-between-jenkins-and-urbancode-build/</link>
					<comments>https://www.scmgalaxy.com/tutorials/difference-between-jenkins-and-urbancode-build/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 02 Apr 2018 01:43:18 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[uBuild]]></category>
		<category><![CDATA[Compare]]></category>
		<category><![CDATA[Difference]]></category>
		<category><![CDATA[Urbancode build]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4879</guid>

					<description><![CDATA[<p>What is the difference between jenkins and Urbancode build? jenkins Urbancode build Jenkins is open framework for automating the repeative [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/difference-between-jenkins-and-urbancode-build/">Difference between jenkins and Urbancode build</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3>What is the difference between jenkins and Urbancode build?</h3>
<table border="1" width="100%">
<tbody>
<tr>
<td>jenkins</td>
<td>Urbancode build</td>
</tr>
<tr>
<td>Jenkins is open framework for automating the repeative tasks and has great plugins which can be used to create entire automated customized continous integration framework.</td>
<td>Urbancode build(uBuild) is for automating the repeative tasks and has great limited sets of plugins which can be used to create entire automated continous integration flow.</td>
</tr>
<tr>
<td>Jenkins can deliver core CI loop: Detect a change, do a build, test, and deliver feedback and its open framework allows and can be used for software Deployment as well.</td>
<td>Urbancode build(uBuild) can deliver core CI loop: Detect a change, do a build, test, and deliver feedback but it can be not be used for deployment. Urbancode Deploy(uDeploy) is another product by IBM which can be used for deployment.</td>
</tr>
<tr>
<td>Jenkins can be extended with Large sets of plugins https://plugins.jenkins.io/</td>
<td>Urbancode build(uBuild) can be extended with Limited sets of plugins https://developer.ibm.com/urbancode/plugins/</td>
</tr>
<tr>
<td>Jenkins is one of top active Open Source and free developed in Java.</td>
<td>Urbancode build(uBuild) is properiety tool by IBM, previously known as Urbancode and developed in Java</td>
</tr>
<tr>
<td>Jenkins has plugins which needs extra learning curve by development teams for centrally defined templates</td>
<td>Urbancode build(uBuild) has built-in Easy addition of new projects by development teams based on centrally defined templates</td>
</tr>
<tr>
<td>Jenkins has Dependency management and but not awareness. Build based on project relationships.</td>
<td>Urbancode build(uBuild) has Dependency management and awareness. Build based on project relationships.</td>
</tr>
</tbody>
</table>
<h3>My Recommendation &#8211; Jenkins</h3>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/difference-between-jenkins-and-urbancode-build/">Difference between jenkins and Urbancode build</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/difference-between-jenkins-and-urbancode-build/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Build Scala Project using sbt and Jenkins</title>
		<link>https://www.scmgalaxy.com/tutorials/build-scala-project-using-sbt-and-jenkins/</link>
					<comments>https://www.scmgalaxy.com/tutorials/build-scala-project-using-sbt-and-jenkins/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 12:09:40 +0000</pubDate>
				<category><![CDATA[Build Management & Tools]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Build Scala Project]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[sbt]]></category>
		<category><![CDATA[Scala Project]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4724</guid>

					<description><![CDATA[<p>Build Scala Project using sbt and Jenkins Agenda Scala &#8211; A Scalable language Scala Download Scala Software Requirement Scala IDEs [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/build-scala-project-using-sbt-and-jenkins/">Build Scala Project using sbt and Jenkins</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong><a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/01/Build-Scala-Project-using-sbt-and-Jenkins.pdf">Build Scala Project using sbt and Jenkins</a></strong></p>
<p><strong>Agenda</strong></p>
<ul>
<li><strong>Scala &#8211; A Scalable language</strong></li>
<li><strong>Scala Download</strong></li>
<li><strong>Scala Software Requirement</strong></li>
<li><strong>Scala IDEs</strong></li>
<li><strong>Scala Install Configuration</strong></li>
<li><strong>Scala First Program</strong></li>
<li><strong>Compile and Run</strong></li>
<li><strong>Building Scala Projects using Jenkins</strong></li>
<li><strong>Sbt downloand and configure</strong></li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/build-scala-project-using-sbt-and-jenkins/">Build Scala Project using sbt and Jenkins</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/build-scala-project-using-sbt-and-jenkins/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Enabling Jenkins integration with Silk Central Test Manager</title>
		<link>https://www.scmgalaxy.com/tutorials/enabling-jenkins-integration-with-silk-central-test-manager/</link>
					<comments>https://www.scmgalaxy.com/tutorials/enabling-jenkins-integration-with-silk-central-test-manager/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 12:07:09 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Silk Central Test Manager]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4721</guid>

					<description><![CDATA[<p>Enabling Jenkins integration with Silk Central Test Manager Enabling jenkins integration with silk central test manager</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/enabling-jenkins-integration-with-silk-central-test-manager/">Enabling Jenkins integration with Silk Central Test Manager</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2 class="elgg-heading-main">Enabling Jenkins integration with Silk Central Test Manager</h2>
<p><strong><a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/01/Enabling-jenkins-integration-with-silk-central-test-manager.pdf">Enabling jenkins integration with silk central test manager</a></strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/enabling-jenkins-integration-with-silk-central-test-manager/">Enabling Jenkins integration with Silk Central Test Manager</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/enabling-jenkins-integration-with-silk-central-test-manager/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Does Jenkins let you create branches?</title>
		<link>https://www.scmgalaxy.com/tutorials/does-jenkins-let-you-create-branches/</link>
					<comments>https://www.scmgalaxy.com/tutorials/does-jenkins-let-you-create-branches/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 10:18:24 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2094</guid>

					<description><![CDATA[<p>sathiya created the topic: Does Jenkins let you create branches? All, At my workplace we create weekly branches for releases. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/does-jenkins-let-you-create-branches/">Does Jenkins let you create branches?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>sathiya created the topic: Does Jenkins let you create branches?</strong><br />
All,</p>
<p>At my workplace we create weekly branches for releases. I tried p4 integ and p4 submit inside Jenkins so I could schedule branching. I used export to setup P4PORT and P4CLIENT. It dies saying files not in client view. Can you schedule Jenkins to create branches?</p>
<p>Thanks,<br />
Rakhee</p>
<p><strong>rajeshkumar replied the topic: Re: Does Jenkins let you create branches?</strong><br />
Hi,</p>
<p>At present perforce jenkins plugins just support following operations&#8230;<br />
Polling<br />
Synchronizing<br />
Browsing latest changes<br />
Labeling builds (tagging)<br />
you can create your custom script to do so.However, the error which you are getting should be somthing related to your p4 client view. re-check your client view mapping and branch mapping. both should be in client view.<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/does-jenkins-let-you-create-branches/">Does Jenkins let you create branches?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/does-jenkins-let-you-create-branches/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>/usr/bin/p4 error in windows machine with jenkins</title>
		<link>https://www.scmgalaxy.com/tutorials/usr-bin-p4-error-in-windows-machine-with-jenkins/</link>
					<comments>https://www.scmgalaxy.com/tutorials/usr-bin-p4-error-in-windows-machine-with-jenkins/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 10:16:05 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2092</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: /usr/bin/p4 error in windows machine with jenkins Issues: [workspace] $ &#8220;C:\Program Files\Perforce\p4.exe&#8221; login -p [workspace] $ [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/usr-bin-p4-error-in-windows-machine-with-jenkins/">/usr/bin/p4 error in windows machine with jenkins</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: /usr/bin/p4 error in windows machine with jenkins</strong><br />
Issues:</p>
<p>[workspace] $ &#8220;C:\Program Files\Perforce\p4.exe&#8221; login -p<br />
[workspace] $ /usr/bin/p4 login -p</p>
<p>Solution:</p>
<p>This must be related to value of P4USER, P4PORT, P4PASSWD or P4TICKET variable is not getting passed to Jenkins.<br />
Try following..<br />
Restart Machine or Restart Services OR Set P4USER, P4PORT, P4PASSWD or P4TICKET and Restart Jenkins Services again.<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/usr-bin-p4-error-in-windows-machine-with-jenkins/">/usr/bin/p4 error in windows machine with jenkins</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/usr-bin-p4-error-in-windows-machine-with-jenkins/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Change Jenkins HTTP port number?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-change-jenkins-http-port-number/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-change-jenkins-http-port-number/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 10:14:33 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2090</guid>

					<description><![CDATA[<p>scmuser created the topic: How to Change Jenkins HTTP port number? How to Change Jenkins HTTP port number? rajeshkumar replied [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-change-jenkins-http-port-number/">How to Change Jenkins HTTP port number?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: How to Change Jenkins HTTP port number?</strong><br />
How to Change Jenkins HTTP port number?</p>
<p><strong>rajeshkumar replied the topic: How to Change Jenkins HTTP port number?</strong><br />
For Windows (service installation)<br />
Edit jenkins.xml or hudson.xml</p>
<p>Navigate to the directory where you installed Jenkins/Hudson and you will see the XML at the root. Open it and look for tag, there will be all the command arguments to be used when starting up Jenkins or Hudson.<br />
One of those arguments is &#8211;httpPort, typically:<br />
&#8211;httpPort=8080.<br />
Change 8080 to whatever port number you want.</p>
<p>WAR File, deployed in GlassFish<br />
You will need to change the default HTTP port in GlassFish.</p>
<p>Natively installed in linux<br />
At least for RHEL, you should be able to find the /etc/sysconfig/hudson, which typically has the following line, among other configuration ones:<br />
HUDSON_PORT=&#8221;8080&#8243;.<br />
Change 8080 to whatever port number you want.</p>
<p>Other linux distributions (using wrapper)<br />
At the time of writing, Arch Linux&#8217;s AUR Jenkins version uses wrapper to launch itself from the .war file.</p>
<p>Edit /opt/jenkins/conf/wrapper.conf, find wrapper.app.parameter.2=&#8211;httpPort=8070 (typically).<br />
Change 8070 to whatever port number you want.</p>
<p>This wrapper solution applies to any system using wrapper, not only linux.<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/how-to-change-jenkins-http-port-number/">How to Change Jenkins HTTP port number?</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-change-jenkins-http-port-number/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jenkins Plugins forJob Configuration change email notification</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-plugins-forjob-configuration-change-email-notification/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-plugins-forjob-configuration-change-email-notification/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 10:08:46 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2086</guid>

					<description><![CDATA[<p>scmuser created the topic: Jenkins Plugins forJob Configuration change email notification We have a many team admin for Jenkins server. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-plugins-forjob-configuration-change-email-notification/">Jenkins Plugins forJob Configuration change email notification</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: Jenkins Plugins forJob Configuration change email notification</strong><br />
We have a many team admin for Jenkins server. I would like to have kind of Jenkins plugins which can send an email when any job configuration changed and it should be notified to specific users so we can have a track of each changes notified via email.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-plugins-forjob-configuration-change-email-notification/">Jenkins Plugins forJob Configuration change email notification</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-plugins-forjob-configuration-change-email-notification/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jenkins Plugins for Job Configuration change email notification</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-plugins-for-job-configuration-change-email-notification/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-plugins-for-job-configuration-change-email-notification/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 10:07:12 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2084</guid>

					<description><![CDATA[<p>scmuser created the topic: Jenkins Plugins forJob Configuration change email notification We have a many team admin for Jenkins server. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-plugins-for-job-configuration-change-email-notification/">Jenkins Plugins for Job Configuration change email notification</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: Jenkins Plugins forJob Configuration change email notification</strong><br />
We have a many team admin for Jenkins server. I would like to have kind of Jenkins plugins which can send an email when any job configuration changed and it should be notified to specific users so we can have a track of each changes notified via email.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-plugins-for-job-configuration-change-email-notification/">Jenkins Plugins for Job Configuration change email notification</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-plugins-for-job-configuration-change-email-notification/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Upgrade Hudson Nodes To Jenkins</title>
		<link>https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:47:41 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2070</guid>

					<description><![CDATA[<p>scmuser created the topic: upgrade hudson nodes to jenkins How to upgrade hudson nodes to jenkins?</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins-2/">Upgrade Hudson Nodes To Jenkins</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: upgrade hudson nodes to jenkins</strong><br />
How to upgrade hudson nodes to jenkins?</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins-2/">Upgrade Hudson Nodes To Jenkins</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Upgrade Hudson Nodes To Jenkins</title>
		<link>https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins/</link>
					<comments>https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:45:10 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2068</guid>

					<description><![CDATA[<p>scmuser created the topic: upgrade hudson nodes to jenkins How to upgrade hudson nodes to jenkins?</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins/">Upgrade Hudson Nodes To Jenkins</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: upgrade hudson nodes to jenkins</strong><br />
How to upgrade hudson nodes to jenkins?</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins/">Upgrade Hudson Nodes To Jenkins</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/upgrade-hudson-nodes-to-jenkins/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jenkins Upgrade and Solution!!!</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-upgrade-and-solution/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-upgrade-and-solution/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:37:32 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2060</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Jenkins Upgrade and Solution!!! Issues 1: You will find these entry in jenkins log file which [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-upgrade-and-solution/">Jenkins Upgrade and Solution!!!</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Jenkins Upgrade and Solution!!!</strong><br />
Issues 1: You will find these entry in jenkins log file which will take longer time to start the services of jenkins </p>
<p>SEVERE: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #&#8230; @1:1)<br />
Feb 25, 2014 2:12:56 AM hudson.plugins.testng.parser.ResultsParser log<br />
SEVERE: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #&#8230; @1:1)<br />
Feb 25, 2014 2:12:56 AM hudson.plugins.testng.parser.ResultsParser log<br />
SEVERE: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #&#8230; @1:1)<br />
Feb 25, 2014 2:12:57 AM hudson.plugins.testng.parser.ResultsParser log<br />
SEVERE: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #&#8230; @1:1)<br />
Feb 25, 2014 2:12:57 AM hudson.plugins.testng.parser.ResultsParser log<br />
SEVERE: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #&#8230; @1:1)</p>
<p>Issues 2: Post upgrade, you will find under &#8220;Manage Jenkins&#8221; sections </p>
<p>You have data stored in an older format and/or unreadable data</p>
<p>Issues 3: Post upgrade, you will find under &#8220;Manage Jenkins&#8221; sections<br />
It appears that your reverse proxy set up is broken.<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p><strong>rajeshkumar replied the topic: Jenkins Upgrade and Solution!!!</strong><br />
Solution for Issues 2<br />
To the right of that messages is a &#8220;Manage&#8221; button.. click that, and it<br />
explains in great detail what this is about.</p>
<p>Once you will click on it, You may find information as below;</p>
<p>Manage Old Data</p>
<p>When there are changes in how data is stored on disk, Jenkins uses the following strategy: data is migrated to the new structure when it is loaded, but the file is not resaved in the new format. This allows for downgrading Jenkins if needed. However, it can also leave data on disk in the old format indefinitely. The table below lists files containing such data, and the Jenkins version(s) where the data structure was changed.</p>
<p>Sometimes errors occur while reading data (if a plugin adds some data and that plugin is later disabled, if migration code is not written for structure changes, or if Jenkins is downgraded after it has already written data not readable by the older version). These errors are logged, but the unreadable data is then skipped over, allowing Jenkins to startup and function properly.</p>
<p>Type	Name	Version</p>
<p>The form below may be used to resave these files in the current format. Doing so means a downgrade to a Jenkins release older than the selected version will not be able to read the data stored in the new format. Note that simply using Jenkins to create and configure jobs and run builds can save data that may not be readable by older Jenkins releases, even when this form is not used. Also if any unreadable data errors are reported in the right side of the table above, note that this data will be lost when the file is resaved.</p>
<p>Eventually the code supporting these data migrations may be removed. Compatibility will be retained for at least 150 releases since the structure change. Versions older than this are in bold above, and it is recommended to resave these files.<br />
No old data was found.</p>
<p>Unreadable Data</p>
<p>It is acceptable to leave unreadable data in these files, as Jenkins will safely ignore it. To avoid the log messages at Jenkins startup you can permanently delete the unreadable data by resaving these files using the button below.<br />
Type	Name	Error<br />
hudson.maven.MavenModuleSet	US-Harmony-E2E-C4-Regression	MissingFieldException: No field &#8216;perModuleEmail&#8217; found in class &#8216;hudson.maven.MavenModuleSet&#8217;<br />
hudson.maven.MavenModuleSet	DY-Classic-QA-US-trunk	MissingFieldException: No field &#8216;perModuleEmail&#8217; found in class &#8216;hudson.maven.MavenModuleSet&#8217;<br />
hudson.maven.MavenModuleSet	UK-Classic-E2E-C1-Regression	MissingFieldException: No field &#8216;perModuleEmail&#8217; found in class &#8216;hudson.maven.MavenModuleSet&#8217;<br />
hudson.maven.MavenModuleSet	CI-QE-FTU-Regression	MissingFieldException: No field &#8216;perModuleEmail&#8217; found in class &#8216;hudson.maven.MavenModuleSet&#8217;<br />
hudson.maven.MavenModuleSet	US-Classic-E2E-C4-Regression	MissingFieldException: No field &#8216;perModuleEmail&#8217; found in class &#8216;hudson.maven.MavenModuleSet&#8217;<br />
hudson.maven.MavenModuleSet	CI-QE-IPD-Smoke	MissingFieldException: No field &#8216;perModuleEmail&#8217; found in class &#8216;hudson.maven.MavenModuleSet&#8217;<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p><strong>rajeshkumar replied the topic: Jenkins Upgrade and Solution!!!</strong><br />
Solution 3: Post upgrade, you will find under &#8220;Manage Jenkins&#8221; sections<br />
It appears that your reverse proxy set up is broken.</p>
<p>If you see the error message &#8220;It appears that your reverse proxy set up is broken&#8221; in the &#8220;Manage Jenkins&#8221; page, here&#8217;s what&#8217;s happening.</p>
<p>For a reverse proxy to work correctly, it needs to rewrite both the request and the response. Request rewriting involves receiving an inbound HTTP call and then make a forwarding request to Jenkins (sometimes with some HTTP headers modified, sometimes not.) Failing to configure the request rewriting is easy to catch, because you just won&#8217;t see any pages at all.</p>
<p>But proper reverse proxying also involves rewriting response. The primary place where this needs to happen is the &#8220;Location&#8221; header in the response, which is used during redirects. Jenkins would send back &#8220;Location: actual.server:8080/jenkins/foobar &#8221; and the reverse proxy needs to rewrite this to &#8220;Location: nice.name/jenkins/foobar &#8220;. Unfortunately, failing to configure this correctly is harder to catch.</p>
<p>So Jenkins has a proactive monitoring to make sure this is configured correctly. It uses XmlHttpRequest to request a specific URL in Jenkins (via relative path, so this will always get through provided the request is properly rewritten), which will then redirect the user to another page in Jenkins (this works correctly only if you got the reponse rewriting configured correctly), which then returns 200.</p>
<p>This error message indicates that this test is failing. The most likely cause is that you got the response rewriting incorrectly done. See Running Jenkins behind Apache for additional tips about reverse proxy. While the page talks primarily about Apache, it has some information that applies to other reverse proxies.</p>
<p>For further diagnosis, try wget &#8211;no-check-certificate &#8211;debug -O /dev/null your.reverse.proxy/jenkins/administrativ&#8230;oxySetupMonitor/test (assuming your Jenkins should be visible at your.reverse.proxy/jenkins/ )</p>
<p>or using cURL:</p>
<p>curl -iL your.reverse.proxy/jenkins/administrativ&#8230;oxySetupMonitor/test<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/jenkins-upgrade-and-solution/">Jenkins Upgrade and Solution!!!</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-upgrade-and-solution/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CLOC Jenkins PLUGINS?</title>
		<link>https://www.scmgalaxy.com/tutorials/cloc-jenkins-plugins/</link>
					<comments>https://www.scmgalaxy.com/tutorials/cloc-jenkins-plugins/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:32:50 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2058</guid>

					<description><![CDATA[<p>scmuser created the topic: CLOC Jenkins pLUGINS? Is there any CLOC Jenkins Plugins? -Rajesh</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cloc-jenkins-plugins/">CLOC Jenkins PLUGINS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: CLOC Jenkins pLUGINS?</strong><br />
Is there any CLOC Jenkins Plugins?</p>
<p>-Rajesh</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cloc-jenkins-plugins/">CLOC Jenkins PLUGINS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/cloc-jenkins-plugins/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Solution for database disk image is malformed during jenkins install</title>
		<link>https://www.scmgalaxy.com/tutorials/solution-for-database-disk-image-is-malformed-during-jenkins-install/</link>
					<comments>https://www.scmgalaxy.com/tutorials/solution-for-database-disk-image-is-malformed-during-jenkins-install/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:27:24 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2054</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Solution for database disk image is malformed during jenkins install Error &#8211; database disk image is [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/solution-for-database-disk-image-is-malformed-during-jenkins-install/">Solution for database disk image is malformed during jenkins install</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Solution for database disk image is malformed during jenkins install</strong><br />
Error &#8211; database disk image is malformed</p>
<p>Sol<br />
# yum clean dbcache<br />
# yum update</p>
<p>and you are done.<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/solution-for-database-disk-image-is-malformed-during-jenkins-install/">Solution for database disk image is malformed during jenkins install</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/solution-for-database-disk-image-is-malformed-during-jenkins-install/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Script to check the build status of a Jenkins job</title>
		<link>https://www.scmgalaxy.com/tutorials/script-to-check-the-build-status-of-a-jenkins-job/</link>
					<comments>https://www.scmgalaxy.com/tutorials/script-to-check-the-build-status-of-a-jenkins-job/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:22:48 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2050</guid>

					<description><![CDATA[<p>Using JSON &#38; Curl BUILD_STATUS=$(curl --user USER:TOKEN_VALUE --silent $BUILD_URLapi/json &#124; jq -r '.result') echo $BUILD_STATUS Using jenkins Plugins Plugins Name [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/script-to-check-the-build-status-of-a-jenkins-job/">Script to check the build status of a Jenkins job</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Using JSON &amp; Curl</strong></p>
<pre class="brush: plain; title: ; notranslate">BUILD_STATUS=$(curl --user USER:TOKEN_VALUE --silent $BUILD_URLapi/json | jq -r '.result')
echo $BUILD_STATUS</pre>
<p><strong>Using jenkins Plugins</strong><br />
Plugins Name &#8211; Conditional Build Step</p>
<p>For Implementations, Please check here.<br />
https://stackoverflow.com/questions/11125598/getting-the-build-status-in-post-build-script</p>
<p><strong>Using Python &amp; Json</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;/pre&gt;
#!/usr/bin/python
#
# author: ajs
# license: bsd
# copyright: re2

import json
import sys
import urllib
import urllib2

jenkinsUrl = &quot;https://jenkins.example.com/job/&quot;

if len( sys.argv ) &gt; 1 :
jobName = sys.argv&#x5B;1]
jobNameURL = urllib.quote(jobName)
else :
sys.exit(1)

try:
jenkinsStream = urllib2.urlopen( jenkinsUrl + jobNameURL + &quot;/lastBuild/api/json&quot; )
except urllib2.HTTPError, e:
print &quot;URL Error: &quot; + str(e.code)
print &quot; (job name &#x5B;&quot; + jobName + &quot;] probably wrong)&quot;
sys.exit(2)

try:
buildStatusJson = json.load( jenkinsStream )
except:
print &quot;Failed to parse json&quot;
sys.exit(3)

if buildStatusJson.has_key( &quot;result&quot; ):
print &quot;&#x5B;&quot; + jobName + &quot;] build status: &quot; + buildStatusJson&#x5B;&quot;result&quot;]
if buildStatusJson&#x5B;&quot;result&quot;] != &quot;SUCCESS&quot; :
exit(4)
else:
sys.exit(5)

sys.exit(0)

Reference -
&lt;a href=&quot;http://serverfault.com/questions/309848/how-can...49988bb53ee820fe202a&quot;&gt;serverfault.com/questions/309848/how-can...49988bb53ee820fe202a&lt;/a&gt;
&lt;pre&gt;</pre>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/script-to-check-the-build-status-of-a-jenkins-job/">Script to check the build status of a Jenkins job</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/script-to-check-the-build-status-of-a-jenkins-job/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jenkins plugin list sometimes shows up empty</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-plugin-list-sometimes-shows-up-empty/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-plugin-list-sometimes-shows-up-empty/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:07:49 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2040</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Jenkins plugin list sometimes shows up empty Issues- Jenkins plugin list &#8221; Updates&#8221; and &#8220;Available&#8221; tab [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-plugin-list-sometimes-shows-up-empty/">Jenkins plugin list sometimes shows up empty</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Jenkins plugin list sometimes shows up empty</strong><br />
Issues- Jenkins plugin list &#8221; Updates&#8221; and &#8220;Available&#8221; tab sometimes shows up empty<br />
Solution &#8211;<br />
<a href="http://help.openshift.com/hc/en-us/articles/202...times-shows-up-empty">help.openshift.com/hc/en-us/articles/202&#8230;times-shows-up-empty</a><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/jenkins-plugin-list-sometimes-shows-up-empty/">Jenkins plugin list sometimes shows up empty</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-plugin-list-sometimes-shows-up-empty/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
