Download presentation
Presentation is loading. Please wait.
Published byHeaven Stapleford Modified over 9 years ago
1
JIVING WITH JENKINS Making the CI server dance to your tune JOHN SHEPHERDSON, ASSOCIATE DIRECTOR, TECHNICAL SERVICES UK DATA ARCHIVE 17 April 2014 V1.0
2
DANCE CARD 2 Introductions Basic steps Hoofing with Hudson Stepping with Selenium Tangoing with TV Fancy footwork Dream Ballet Sequence Dancing Jiving with Jenkins
3
UK Data Archive 3 based at the University of Essex since 1967 curator of the UK’s largest collection of digital data in the social sciences currently holds nearly 6,000 data collections for research and teaching, both quantitative and qualitative certified to ISO 27001, the international information security standard makes these available via the new UK Data Service Website: www.data-archive.ac.ukwww.data-archive.ac.uk
4
UK Data Service 4 the UK Data Service indexes all data collections in the Archive –all catalogued at thematic level –many indexed at variable level also harvests metadata from other sources all are available for download via Discover search-and-browse catalogue: discover.ukdataservice.ac.uk discover.ukdataservice.ac.uk
5
UK Data Service 5 also provides access to UK Census data (1971 to 2011) source of guidance, training, and support for data users in UK and around the world currently serve approx. 24,000 registered users newly funded to coordinate the Administrative Data Research Network, part of UK’s Big Data strategy Websites: ukdataservice.ac.uk, census.ukdataservice.ac.ukukdataservice.ac.uk led by experts at University of Essex along with colleagues at Manchester, Leeds, Southampton, Edinburgh and UCL
6
6 BASIC STEPS
7
HOOFING WITH HUDSON 7 Basic CI stuff Instrumentation Unit testing Style checking Documentation
8
Instrumentation 8 Job Status Build History
9
Instrumentation 9 Build artefacts Revision history Audit trail
10
Unit Testing 10
11
Style Checking 11 Stylecop CheckStyle
12
Code QA - Sonar 12
13
Code QA - Sonar 13
14
Database docs (Red Gate SQL Doc) 14
15
Database docs (Red Gate SQL Doc) 15
16
Class docs (dOxygen) 16
17
Class docs (dOxygen) 17
18
STEPPING WITH SELENIUM 18 User Journey assurance Plugin to Firefox Allows User clicks to be captured convert to test scripts run on demand Selenium Grid test multiple browser types and variants See ‘Browser Watch’ presentation for more details
19
STEPPING WITH SELENIUM 19 User Journey assurance
20
STEPPING WITH SELENIUM 20 User Journey assurance
21
TANGOING WITH TV 21 Other QA/Validation: Link checking, Spelling, HTML standards compliance, Accessibility
22
FANCY FOOTWORK
23
DREAM BALLET 23 Deployment Copy builds, configuration, data from server to server Keep test instance data in step with production How? Wrap a tool (such as RoboCopy or Red Gate deployment manager) in a script (such as Ant) and call it from Jenkins.
24
SEQUENCE DANCE 24 Upstream/downstream builds Build dependency chain – Harvest data via web service API – Import harvested data in to XML database – Run quality checks against database contents – Extract data etc.
25
JIVING WITH JENKINS 25 From Continuous Integration to Orchestration Minimal coding – Mostly configuration – Some scripting (Ant, Shell, DOS etc.) – Chain internally and/or call externally (REST API) – Rich instrumentation – Notification on success and/or failure Make your CI server dance to your tune!
26
26 Jirahttp://www.atlassian.com/software/jirahttp://www.atlassian.com/software/jira Jira Agilehttps://www.atlassian.com/software/jira/agilehttps://www.atlassian.com/software/jira/agile SVNhttp://subversion.apache.org/http://subversion.apache.org/ SVN Edge http://www.collab.net/products/subversionhttp://www.collab.net/products/subversion Jenkinshttp://jenkins-ci.org/http://jenkins-ci.org/ Seleniumhttp://docs.seleniumhq.org/http://docs.seleniumhq.org/ Stylecophttp://stylecop.codeplex.com/http://stylecop.codeplex.com/ Resharperhttp://www.jetbrains.com/resharper/http://www.jetbrains.com/resharper/ Red Gatehttp://www.red-gate.com/products/http://www.red-gate.com/products/ Doxygenhttp://www.stack.nl/~dimitri/doxygen/http://www.stack.nl/~dimitri/doxygen/ Sonarhttp://www.sonarsource.org/http://www.sonarsource.org/
27
Find Out More 27 Find out more Data Archive – data-archive.ac.uk UK Data Service – ukdataservice.ac.uk Contact Information John Shepherdson UK Data Archive University of Essex Wivenhoe Park Colchester CO4 3SQ E-mail: jwshep@essex.ac.ukjwshep@essex.ac.uk
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.