Jenkins/_build/html/epics7.html
changeset 4 633ec114762a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Jenkins/_build/html/epics7.html	Fri Jan 12 14:16:17 2018 +0100
@@ -0,0 +1,135 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>Create a job for epics-base-7.0 &mdash; JenkinsDoc 1.0 documentation</title>
+    
+    <link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
+    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+    
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    './',
+        VERSION:     '1.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true
+      };
+    </script>
+    <script type="text/javascript" src="_static/jquery.js"></script>
+    <script type="text/javascript" src="_static/underscore.js"></script>
+    <script type="text/javascript" src="_static/doctools.js"></script>
+    <link rel="top" title="JenkinsDoc 1.0 documentation" href="index.html" />
+    <link rel="prev" title="Installation and running of Jenkins" href="Installation.html" />
+   
+  <link rel="stylesheet" href="_static/custom.css" type="text/css" />
+  
+  
+  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
+
+  </head>
+  <body role="document">
+  
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body" role="main">
+            
+  <div class="section" id="create-a-job-for-epics-base-7-0">
+<h1>Create a job for epics-base-7.0<a class="headerlink" href="#create-a-job-for-epics-base-7-0" title="Permalink to this headline">ΒΆ</a></h1>
+<p>At first you have to install the TAP-plugin. Go to <em>Manage Jenkins</em>-&gt;*Manage Plugins* and install the <em>TAP Plugin</em></p>
+<p>To create a job, click <em>New Item</em> and select <em>Freestyle project</em>, Enter a name and click <em>OK</em>.
+If you want the change the installation directory(default is ) of epics-base click on the <em>Advanced..</em>-Button
+in the <em>General</em>-tab check <em>Use custom workspace</em> and enter a Directory path e.g. <code class="docutils literal"><span class="pre">/opt/EPICS/${JOB_NAME}</span></code>.
+If you choose to do this make shure the <em>Jenkins</em> user has the appropriate permission in that directory.
+To do that enter the following into the terminal:</p>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">useradd</span> <span class="o">-</span><span class="n">a</span> <span class="o">-</span><span class="n">G</span> <span class="n">root</span> <span class="n">jenkins</span>
+<span class="n">sudo</span> <span class="n">chmod</span> <span class="o">--</span><span class="n">recursive</span> <span class="n">a</span><span class="o">+</span><span class="n">rwx</span> <span class="o">/</span><span class="n">opt</span><span class="o">/</span><span class="n">EPICS</span><span class="o">/</span><span class="n">epics</span><span class="o">-</span><span class="n">base</span>
+</pre></div>
+</div>
+<p>You also have to set you epics environment variables accordingly.</p>
+<div class="line-block">
+<div class="line">Now setup the git configuration inside the <em>Source Code Management</em>-tab</div>
+<div class="line">Select <em>Git</em> and enter the <em>Repository URL</em> <code class="docutils literal"><span class="pre">https://git.launchpad.net/epics-base</span></code>.</div>
+<div class="line">Add the Branch Specifier <code class="docutils literal"><span class="pre">core/master</span></code></div>
+<div class="line">Add with <em>Additional Behaviours</em> <strong>Advanced sub-modules behaviours</strong> and select <em>Recursively update submodules</em></div>
+</div>
+<p>In the <em>Build Triggers</em>-tab select <em>Build periodically</em> and enter the desired build schedule, e.g:</p>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">H</span> <span class="mi">1</span> <span class="o">*</span> <span class="o">*</span> <span class="o">*</span>
+</pre></div>
+</div>
+<p>to update every Day roughly around 1am.</p>
+<p>Now add a <em>build step</em> in the <em>Build</em>-tab, select <em>Execute shell</em> and enter:</p>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">make</span> <span class="n">clean</span> <span class="n">uninstall</span>
+<span class="n">make</span>
+<span class="n">make</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="nb">print</span><span class="o">-</span><span class="n">directory</span> <span class="o">-</span><span class="n">j4</span> <span class="n">tapfiles</span>
+<span class="n">make</span> <span class="o">-</span><span class="n">s</span> <span class="n">test</span><span class="o">-</span><span class="n">results</span>
+</pre></div>
+</div>
+<p>to build epics-base and make tests.</p>
+<p>Now add a <em>post-build action</em> <strong>Publish TAP Results</strong> and enter:</p>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="o">**/</span><span class="n">O</span><span class="o">.*/*.</span><span class="n">tap</span>
+</pre></div>
+</div>
+<p>You can uncheck <em>Verbose</em> if wanted.</p>
+<div class="line-block">
+<div class="line">You can add another <em>post-build action</em> to send a <em>Editable Email Notification</em></div>
+</div>
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
+        <div class="sphinxsidebarwrapper"><div class="relations">
+<h3>Related Topics</h3>
+<ul>
+  <li><a href="index.html">Documentation overview</a><ul>
+      <li>Previous: <a href="Installation.html" title="previous chapter">Installation and running of Jenkins</a></li>
+  </ul></li>
+</ul>
+</div>
+  <div role="note" aria-label="source link">
+    <h3>This Page</h3>
+    <ul class="this-page-menu">
+      <li><a href="_sources/epics7.txt"
+            rel="nofollow">Show Source</a></li>
+    </ul>
+   </div>
+<div id="searchbox" style="display: none" role="search">
+  <h3>Quick search</h3>
+    <form class="search" action="search.html" method="get">
+      <div><input type="text" name="q" /></div>
+      <div><input type="submit" value="Go" /></div>
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="footer">
+      &copy;2018, Jonathan Grimm.
+      
+      |
+      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4.5</a>
+      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.9</a>
+      
+      |
+      <a href="_sources/epics7.txt"
+          rel="nofollow">Page source</a>
+    </div>
+
+    
+
+    
+  </body>
+</html>
\ No newline at end of file