apache continuum build, test, and release -...
Post on 05-Sep-2018
235 Views
Preview:
TRANSCRIPT
• Member, The Apache Software Foundation
• Committer, Apache Continuum, Archiva, Struts, Tiles, Maven, ...
• Solutions Architect, G2iX
wsmoak@apache.org
http://wsmoak.net
Wendy Smoak
2
Continuous Integration
... is a software development practice in which members of a team integrate their work frequently.
Usually each person integrates at least daily - leading to multiple integrations per day.
Each integration is verified by an automated build (including tests).
http://www.martinfowler.com/articles/continuousIntegration.html5
• Apache top-level project
• More than CI...
• Role-based Access Control
• Release Management
• Parallel and Distributed Builds
• Configurable JVM Wrapper
Apache Continuum
9
• Download
• Install
• Start and Stop
• Configure
• Build Definitions
• Build Environments
• Build Schedules
• Build Queues
• Release
• Project Groups
• Users and Roles
• Notifiers
• JVM Wrapper
• XML-RPC
Demo
11
Install
• Unpack the distribution
• Continuum + Jetty + Derby
13
$ lsLICENSE apps conf derby.log logsNOTICE bin data lib tmp
Start
• bin/continuum start
• Automatically detects platform
• Windows
• bin/continuum.bat console --or--
• bin/continuum.bat install (as a service)
15
Demo Setup
16
svn.example.comhttpd + mod_dav_svn
running locally
build.example.comContinuum + Jetty
running locally
command linedeveloper workstation
repo.example.comArchiva + Jettyrunning locally
Build Schedules
• Hourly by default
• crontab format
28
Schedule
When to run
Max time
Build Queue(s)
Build Definitions
• Build file such as pom.xml
• goals and arguments
• Schedule
• Build Environment
29
Notifiers
• Email, IRC, MSN, Jabber, Wagon
• Configure in Maven pom.xml
• Add directly to Continuum
• Can notify the latest committers
31
Alternatives
• Bamboo (Atlassian)
• Cruise Control (Thoughtworks)
• Hudson
• ... and many others
http://damagecontrol.codehaus.org/Continuous+Integration+Server+Feature+Matrix38
Where we need help
40
• Discussing and coding features and fixes
• UI Design and Usability
• Writing documentation
• Testing - JUnit, TestNG, Selenium
Where you can find us
41
• http://continuum.apache.org
• users@continuum.apache.org
• #continuum on irc.codehaus.org
• Here at ApacheCon!
top related