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.
https://git.launchpad.net/epics-base.core/masterIn 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.