@@ -232,10 +232,10 @@ ola_doc_factory.addStep(Compile(
232232 flunkOnWarnings = True ,
233233 command = ['make' , 'doxygen-doc' ]))
234234ola_doc_factory .addStep (ShellCommand (
235- workdir = "build" ,
236- command = ["./doxygen/copy-doc.sh" ,
237- "/opt/www/docs.openlighting.org/ola/doc/latest/" ],
238- name = "copy" ))
235+ workdir = "build" ,
236+ command = ["./doxygen/copy-doc.sh" ,
237+ "/opt/www/docs.openlighting.org/ola/doc/latest/" ],
238+ name = "copy" ))
239239
240240# OLA man page factory
241241ola_man_factory = BuildFactory ()
@@ -272,9 +272,43 @@ ja_rule_doc_factory.addStep(Compile(
272272 flunkOnWarnings = True ,
273273 command = ['make' , 'doxygen-doc' ]))
274274ja_rule_doc_factory .addStep (ShellCommand (
275- command = ["./doxygen/copy-doc.sh" ,
276- "/opt/www/docs.openlighting.org/ja-rule/doc/latest/" ],
277- name = "copy" ))
275+ command = ["./doxygen/copy-doc.sh" ,
276+ "/opt/www/docs.openlighting.org/ja-rule/doc/latest/" ],
277+ name = "copy" ))
278+
279+ # Ja-Rule doxygen manual factory
280+ ja_rule_manual_factory = BuildFactory ()
281+ ja_rule_manual_factory .addStep (Git (
282+ repourl = BuildRepoURL (config ['JA_RULE_REPO' ])
283+ ))
284+ ja_rule_manual_factory .addStep (ShellCommand (command = ["./install-gmock.sh" ],
285+ name = "install gmock" ))
286+ ja_rule_manual_factory .addStep (ShellCommand (command = ["autoreconf" , "-i" ],
287+ name = "autoreconf" ))
288+ # Should be able to switch to these with newer versions of buildbot
289+ # ja_rule_manual_factory.addStep(Configure(
290+ # command=["./configure", "--disable-doxygen-version", "--without-ola"]))
291+ ja_rule_manual_factory .addStep (ShellCommand (
292+ command = ["./configure" , "--disable-doxygen-version" , "--without-ola" ],
293+ name = "configure" ,
294+ ))
295+ # ja_rule_manual_factory.addStep(Compile(
296+ # name='make builtfiles',
297+ # description='generating built files',
298+ # descriptionDone='generated built files',
299+ # command=['make', 'builtfiles']))
300+ ja_rule_manual_factory .addStep (Compile (
301+ workdir = "build/user_manual" ,
302+ name = 'doxygen' ,
303+ description = 'documenting' ,
304+ descriptionDone = 'documented' ,
305+ flunkOnWarnings = True ,
306+ command = ['doxygen' ]))
307+ ja_rule_manual_factory .addStep (ShellCommand (
308+ workdir = "build/user_manual" ,
309+ command = ["./copy-manual.sh" ,
310+ "/opt/www/docs.openlighting.org/ja-rule/manual/latest/" ],
311+ name = "copy" ))
278312
279313c ['builders' ] = []
280314
@@ -375,6 +409,14 @@ if ja_rule_doc_slaves:
375409 factory = ja_rule_doc_factory ,
376410 tags = ['ja-rule' , ("ja-rule-%s" %
377411 config ['JA_RULE_TRUNK_NAME' ])]))
412+ builder_branches ['ja_rule' ][config ['JA_RULE_TRUNK_NAME' ]].append (
413+ "doxygen-manual-generator-ja-rule" )
414+ c ['builders' ].append (
415+ BuilderConfig (name = "doxygen-manual-generator-ja-rule" ,
416+ slavenames = [s .name () for s in ja_rule_doc_slaves ],
417+ factory = ja_rule_manual_factory ,
418+ tags = ['ja-rule' , ("ja-rule-%s" %
419+ config ['JA_RULE_TRUNK_NAME' ])]))
378420
379421################################################################################
380422# SCHEDULERS
0 commit comments