Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jenkins Work-Flow Improvements and CMake Find-Module Standardization

Similar presentations


Presentation on theme: "Jenkins Work-Flow Improvements and CMake Find-Module Standardization"— Presentation transcript:

1 Jenkins Work-Flow Improvements and CMake Find-Module Standardization
Martin Storø Nyfløtt CERN Summer Student Supervisor: Patricia Mendez Lorenzo

2 Outline Jenkins-GitHub Workflow Today
Automating of CMake external packages update process CMake find-modules Jenkins templates Conclusion

3 Jenkins-GitHub Workflow Today
You push something to GitHub Jenkins realizes there is a change by polling e.g. each 10th minute Executes job: Pull changes, compile, run tests, etc. Publish result If failed, is sent with build log

4 Jenkins and GitHub Integration
Problem: Single Sign-On (SSO) Configuring resources outside SSO Stack: CentOS 7, Apache, Jenkins Reviewing with IT-security (Sebastian Lopienski) Suggested modules: mod_security and mod_evasive Implementation of shared secret mechanism with GitHub (Pull request) Pull request: How to set up:

5 Automating CMake External Package Updating
On new version of external module: Clone repo Tar repo Upload to AFS Update version numbers in CMake files Start job in Jenkins Fully automated in Python Script triggers on logged events from GitHub web-hooks

6 CMake Find Modules Inconsistency: File names, variable names, flow
Lack of documentation Deprecation of APIs/directives Proposal of guidelines and actions

7 Jenkins Email Templates
Need for better notifications Implemented with -ext plugin Implemented in Groovy, tap directly into the Jenkins API Tight cooperation with Axel Neumann Being used at root-incremental, lcg_ext_dev2, lcg_ext_dev3, lcg_ext_dev4, cling-generic-build Configurable for each project (Commit linking)

8

9

10

11

12 Jenkins GitHub Workflow Future
You push something to GitHub GitHub tells Jenkins there is a change Executes job: Pull changes, compile, run tests, etc. Publish result If failed, human-readable is sent out

13 Conclusion Misleading documentation OSS contribution
More efficient work-flow with GitHub Improved notifications Automation of time-consuming tasks (CMake) Fun times

14 Questions Happy Swiss national holiday!


Download ppt "Jenkins Work-Flow Improvements and CMake Find-Module Standardization"

Similar presentations


Ads by Google