THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Here is the summary about the CI tools for Apache BookKeeper.
CI | Job Name | Target OS | Target Language | Description | |
---|---|---|---|---|---|
Development | Jenkins CI | bookkeeper-master | Ubuntu | Java 8 | Nightly build for bookkeeper master for verifying the tests. |
PreCommit | Jenkins CI | bookkeeper-precommit-pullrequest | Ubuntu | Java 8 | Build for bookkeeper pull requests |
PostCommit | Jenkins CI | bookkeeper-postcommit-publish-website | - | - | Publish website after a commit is pushed to master. It has to run on `git-websites` nodes, since it has the credentials setup for pushing to git. |
Release | Jenkins CI | bookkeeper-release-nightly-snapshot | Ubuntu | Java 8 | Nightly build for bookkeeper master. It also deploys snapshots and reports code coverage. |
1. Build services provided by ASF
This page (http://ci.apache.org) contains information on the various build services that are provided to all ASF projects for continuous integration, builds, testing, snapshots and deployment. Please read this page first.
Jenkins setup
You can see more information in this link: http://wiki.apache.org/general/Jenkins?action=show&redirect=Hudson
- First, you have to get an access to Jenkins (http://builds.apache.org). To get an access to Jenkins, Ask your PMC chair.
- If you get an access, open builds.apache.org and login with your Apache LDAP account.
- Jenkins > New Item : Enter item name and check Maven project.
- To trigger Github pull request builds, Follow the steps in this link: https://blogs.apache.org/infra/entry/github_pull_request_builds_now.
- Set JDK version to 1.8.
- Check "Restrict where this project can be run" and add "ubuntu" into the "Label Expression" filed. The builder will be executed on ubuntu machines.
- In Build, write "clean install" into "Goals and options".
- In Post Steps, check "Run regardless of build result".
- If you want to update relevant JIRA issues whenever Jenkins builds the related patch, then add "Update JIRA relevant issues" in Post-build Action. To trigger this post build action, we have to insert JIRA issue number into our commit message. Here is an example commit message: "[DL-XXX] Jenkins integration test".
- If you have any problem using Jenkins, please file a ticket to INFRA (https://issues.apache.org/jira/browse/INFRA) or send an email to builds@apache.org.
Or you can just simply clone an existing Jenkins job: Jenkins > New Item: Enter item name and Copy existing item.
Rebuild
- Open http://builds.apache.org and login with your Apache LDAP account
- Access a build link what you want to rebuild. (e.g. https://builds.apache.org/job/bookkeeper-master/)
- Click rebuild button
Reconfiguration
- Open http://builds.apache.org and login with your Apache LDAP account
- Click "Configuration" in the build job link. (e.g. https://builds.apache.org/job/bookkeeper-master/)
- Change setting and click the save button