Author: jleroux
Date: Mon Dec 31 11:48:34 2018
New Revision: 1850039
URL: http://svn.apache.org/viewvc?rev=1850039&view=rev
Log:
How to add a new branch in Buildbot
Modified:
ofbiz/tools/documentation/BuildBot/BuildBot.md
Modified: ofbiz/tools/documentation/BuildBot/BuildBot.md
URL:
http://svn.apache.org/viewvc/ofbiz/tools/documentation/BuildBot/BuildBot.md?rev=1850039&r1=1850038&r2=1850039&view=diff
==============================================================================
--- ofbiz/tools/documentation/BuildBot/BuildBot.md (original)
+++ ofbiz/tools/documentation/BuildBot/BuildBot.md Mon Dec 31 11:48:34 2018
@@ -78,4 +78,10 @@ So the whole request is of the form
Note though that with our last config (see
[INFRA-15394](https://issues.apache.org/jira/browse/INFRA-15394)) the
ofbizTrunkFrameworkPlugins and ofbizBranch17FrameworkPlugins builders are
dependent and respectively automatically launched by the ofbizTrunkFramework
and ofbizBranch17Framework builders but only on commits. So if you use an IRC
command like `force build ofbizTrunkFramework` only this builder will be
launched not the dependent ofbizTrunkFrameworkPlugins. We can't call a
scheduler from IRC. It needs a svn commit.
### Randon conflicts on port 8080 during tests
-One case which comes back from time to time is a conflit on port 8080 due to
the automatic startup of tomcat. It's due to security patches being applied on
Silvanus (one of 3 the servers BuildBot uses for OFBiz, hence the random
aspect, only Sylvanus is concerned). In such case we need to ask infra to
manually disable Tomcat on Silvanus. This happened 4th already, last case was
[INFRA-15829](https://issues.apache.org/jira/browse/INFRA-15829)) where things
are best explained.
\ No newline at end of file
+One case which comes back from time to time is a conflit on port 8080 due to
the automatic startup of tomcat. It's due to security patches being applied on
Silvanus (one of 3 the servers BuildBot uses for OFBiz, hence the random
aspect, only Sylvanus is concerned). In such case we need to ask infra to
manually disable Tomcat on Silvanus. This happened 4th already, last case was
[INFRA-15829](https://issues.apache.org/jira/browse/INFRA-15829)) where things
are best explained.
+
+### Adding a new branch
+1. Copy and adapt an existing branch scheduler and builder in [the OFBiz
BuildBot
script](https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/ofbiz.conf).
+2. Ask Infra for a new directories structure for the tests (eg
https://issues.apache.org/jira/browse/INFRA-17513)
+3. Adds the new branches [in the Git file for project
paths](C:\projectsASF\infrastructure-puppet\modules\subversion_server\files\hooks\buildbot_project_paths
"buildbot_project_paths").
+