Apache Continuum
Apache Continuum is an enterprise-ready continuous integration server with features such as automated builds, release management, role-based security, and integration with popular build tools and source control management systems.
1 wget http://mirrors.fe.up.pt/pub/apache/continuum/binaries/apache-continuum-1.4.2-bin.tar.gz
2 cp apache-continuum-1.4.2-bin.tar.gz /tmp/
3 cd /tmp/
4 tar xvzf apache-continuum-1.4.2-bin.tar.gz
5 cd apache-continuum-1.4.2
6 cd bin
7 ln -s wrapper-linux-x86-32 wrapper
8 ./continuum status
9 ./continuum start
10 # http://localhost:8080/continuum
11 # http://localhost:8080/continuum/security/addadmin.action # admin:admin1
12
Working Directory*: /tmp/apache-continuum-1.4.2/data/working-directory Build Output Directory*: /tmp/apache-continuum-1.4.2/data/build-output-directory Release Output Directory: /tmp/apache-continuum-1.4.2/data/release-output-directory Deployment Repository Directory: /tmp/apache-continuum-1.4.2/data/deployment-repository-directory Base URL*: http://localhost:8080/continuum Number of Allowed Builds in Parallel: 1
Maven project
Link: http://localhost:8080/continuum/addMavenTwoProjectInput.action
Add to pom.xml
<scm> <url>https://github.com/vborrego/jdbc-code-gen </url> <connection>scm:git:git://github.com/vborrego/jdbc-code-gen.git</connection> </scm>
POM Url: https://raw.githubusercontent.com/vborrego/jdbc-code-gen/master/pom.xml
- Build definition template: Default Maven Template
- Add
Goto http://localhost:8080/continuum/groupSummary.action and click on Build All Projects
Schedule
Goto http://localhost:8080/continuum/schedules.action
- Name Hourly build
- Description Hourly build
- Second: 0
- Minute: 0
- Hour: *
- Day of Month: *
- Month: *
- Day of Week ?
- Default build queue
On the schedule for the project change to hourly build.