Devs,

Over at HBASE-12944, we've made some changes so that the Precommit jenkins
build (commonly known and loved as hadoopqa) can now test patches on
branches.

For testing a patch on a branch, you should use the name of the branch in
name of the patch file. For example a patch file named
"hbase-123-0.98.patch will test the hadoopqa build on top of the 0.98
branch.

Right now, all active branches, master, branch-1.0, branch-1, 0.98 and 0.94
are supported. If no branch name is found in the patch file, master will be
used.

Also keep in mind that hadoopqa only picks up the latest patch from an
issue in "Patch Available" state. This means that you cannot attach 3
patches at the same time for different branches and expect hadoopqa to
report on all 3. The way to test a patch for master and branch-1 for
example would be to attach the master patch, wait for the precommit build
[1] to start for your patch, and then after it started attach the branch-1
patch with "branch-1" in the patch file name. There is another job called
PreCommit-Admin [2] who looks at the jira issues and kicks the precommit
build every 10 minutes. It means you have to wait at least 10 minutes in
between (or kick [2] manually if you are a committer).

[1] https://builds.apache.org/job/PreCommit-HBASE-Build/
[2] https://builds.apache.org/view/All/job/PreCommit-Admin/

Cheers,
Enis

Reply via email to