Repository: incubator-juneau-website Updated Branches: refs/heads/asf-site 112b098d4 -> 2cd8d7bd2
Add missing conf file? Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/2cd8d7bd Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/2cd8d7bd Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/2cd8d7bd Branch: refs/heads/asf-site Commit: 2cd8d7bd2b0878ee0373b29ce4b9e0b79f5839af Parents: 112b098 Author: jamesbognar <[email protected]> Authored: Mon Aug 8 14:39:41 2016 -0400 Committer: jamesbognar <[email protected]> Committed: Mon Aug 8 14:39:41 2016 -0400 ---------------------------------------------------------------------- content/juneau.conf | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2cd8d7bd/content/juneau.conf ---------------------------------------------------------------------- diff --git a/content/juneau.conf b/content/juneau.conf new file mode 100644 index 0000000..bb73778 --- /dev/null +++ b/content/juneau.conf @@ -0,0 +1,39 @@ +# This is the config file for the Juneau project. +# This is only local for our editing purposes, please raise an INFRA ticket if you want to change it (after you've committed changes) + +import re + +Excludes = masterExcludes + ["content"] +Excludes = map(re.compile, Excludes) +wasChanged = wasCodeTouched(Excludes) + +c['schedulers'].append(SingleBranchScheduler(name="on-juneau-site-commit", + change_filter=filter.ChangeFilter(branch='asf-site' , project='incubator-juneau-site'), + treeStableTimer=2, + builderNames=["juneau-site"], + fileIsImportant=wasChanged)) + +#builders + +f_juneau_1 = factory.BuildFactory() +f_juneau_1.addStep(Git(repourl="https://git-wip-us.apache.org/repos/asf/incubator-juneau-site.git", mode="full")) +f_juneau_1.addStep(ShellCommand(command=["bash" , "build.sh", "publish"], + workdir="build/", +)) + +b_pony_1 = {'name': "juneau-site", + 'slavename': "bb_slave1_ubuntu", + 'builddir': "juneau-site", + 'factory': f_juneau_1, + 'category': "juneau-site" + } + +c['builders'].append(b_juneau_1) + +#mail status + +c['status'].append(mail.MailNotifier(fromaddr="[email protected]", + extraRecipients=["[email protected]"], + sendToInterestedUsers=False, + mode="change", + categories=["juneau-site"]))
