--- a/Jenkins/epics7.rst Fri Jan 12 14:16:17 2018 +0100
+++ b/Jenkins/epics7.rst Mon Jan 15 11:01:26 2018 +0100
@@ -9,7 +9,7 @@
If you choose to do this make shure the *Jenkins* user has the appropriate permission in that directory.
To do that enter the following into the terminal::
- sudo useradd -a -G root jenkins
+ sudo usermod -a -G root jenkins
sudo chmod --recursive a+rwx /opt/EPICS/epics-base
You also have to set you epics environment variables accordingly.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Jenkins/epics7.rst~ Mon Jan 15 11:01:26 2018 +0100
@@ -0,0 +1,42 @@
+Create a job for epics-base-7.0
+'''''''''''''''''''''''''''''''
+
+At first you have to install the TAP-plugin. Go to *Manage Jenkins*->*Manage Plugins* and install the *TAP Plugin*
+
+To create a job, click *New Item* and select *Freestyle project*, Enter a name and click *OK*.
+If you want the change the installation directory(default is ) of epics-base click on the *Advanced..*-Button
+in the *General*-tab check *Use custom workspace* and enter a Directory path e.g. ``/opt/EPICS/${JOB_NAME}``.
+If you choose to do this make shure the *Jenkins* user has the appropriate permission in that directory.
+To do that enter the following into the terminal::
+
+ sudo useradd -a -G root jenkins
+ sudo chmod --recursive a+rwx /opt/EPICS/epics-base
+
+You also have to set you epics environment variables accordingly.
+
+| Now setup the git configuration inside the *Source Code Management*-tab
+| Select *Git* and enter the *Repository URL* ``https://git.launchpad.net/epics-base``.
+| Add the Branch Specifier ``core/master``
+| Add with *Additional Behaviours* **Advanced sub-modules behaviours** and select *Recursively update submodules*
+In the *Build Triggers*-tab select *Build periodically* and enter the desired build schedule, e.g::
+
+ H 1 * * *
+
+to update every Day roughly around 1am.
+
+Now add a *build step* in the *Build*-tab, select *Execute shell* and enter::
+
+ make clean uninstall
+ make
+ make --no-print-directory -j4 tapfiles
+ make -s test-results
+
+to build epics-base and make tests.
+
+Now add a *post-build action* **Publish TAP Results** and enter::
+
+ **/O.*/*.tap
+
+You can uncheck *Verbose* if wanted.
+
+| You can add another *post-build action* to send a *Editable Email Notification*