<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://devsummit.aspirationtech.org/index.php?action=history&amp;feed=atom&amp;title=Using_Jenkins_to_Manage_Scripts</id>
	<title>Using Jenkins to Manage Scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://devsummit.aspirationtech.org/index.php?action=history&amp;feed=atom&amp;title=Using_Jenkins_to_Manage_Scripts"/>
	<link rel="alternate" type="text/html" href="https://devsummit.aspirationtech.org/index.php?title=Using_Jenkins_to_Manage_Scripts&amp;action=history"/>
	<updated>2026-04-12T23:34:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://devsummit.aspirationtech.org/index.php?title=Using_Jenkins_to_Manage_Scripts&amp;diff=469&amp;oldid=prev</id>
		<title>Vivian: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://devsummit.aspirationtech.org/index.php?title=Using_Jenkins_to_Manage_Scripts&amp;diff=469&amp;oldid=prev"/>
		<updated>2015-05-05T18:25:08Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* Build executers is basically servers&lt;br /&gt;
* You can run scripts&lt;br /&gt;
* A build in this context is basically when a script has been run&lt;br /&gt;
* It can tell you how long it took to run, how often it has been run&lt;br /&gt;
* You can give permissions to different tasks&lt;br /&gt;
* You can chain together builds&lt;br /&gt;
** For example, you can have one script that gets a database dump and another that uploads the database to a staging site&lt;br /&gt;
* Drupal.org uses Execute shell all the time, the other options are more Java scecific&lt;br /&gt;
* Archive artifacts means that builds will keep files that are generated in a build&lt;br /&gt;
* It can notify you when something breaks (email, irc, jabber, etc.)&lt;br /&gt;
* You can run it locally, but it's a little overkill if you are just using it for yourself. It really becomes awesome when you're working with a team.&lt;br /&gt;
* You can also include files (or whole git repos) and then run the scripts out of there instead of typing them directly into Jenkins&lt;br /&gt;
&lt;br /&gt;
Example code:&lt;br /&gt;
&amp;lt;code&amp;gt;[ -d DIRECTORYNAME] || git clone --branch -master http:/git.xxx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd DIRECTORYNAME&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ run the command you want in the directory&lt;br /&gt;
&lt;br /&gt;
* All of drupal.org scripts are available: http://drupalcode.org/project/infrastructure.git/tree/refs/heads/master&lt;br /&gt;
* You can have parameters for your build tasks that your scripts can use&lt;br /&gt;
* For bash scripts, the status of the scripts is the last thing that got called. So if you want it to return successfully end it with &amp;lt;code&amp;gt;exit 0&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vivian</name></author>
	</entry>
</feed>