Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ee4j-build] polling frequency?

I'm currently using poll SCM every 30 minutes to cover master and EE4J_8 branches. It seems to be enough with current frequency of changes in our projects. Triggering by GitHub events (hooks) will be better, but we can live without that now.

For the beginning it would be good to start with continuous build for master and EE4J_8 branches and with release job that can work with any branch.

https://github.com/orgs/eclipse-ee4j/projects/1#card-13284080 still contains a very long list of unfinished tasks so let's concentrate on this minimal set for each of the projects.


After that it would be nice to do few more things:

  • build for PRs - here we will have to rely on some GitHub hooks and related plugin, or use for example Travis
I already saw broken builds few times so incoming PRs need some build and test coverage (and also some formal checks like headers, coding style, findbugs, etc.) as part of review process
  • use maven nexus plugin to close staging deployments in release job
But those things are not highest priority tasks now.

Tomas

Dne 09/10/18 v 12:13 Tom Jenkinson napsal(a):
Just to mention that Bill is looking to monitor for mainline branch repo changes I think (e.g. master/EE4j_8) - rather than PR. Or at least that is how I interpretted it.

On 9 October 2018 at 10:46, Mikaël Barbero <mikael.barbero@xxxxxxxxxxxxxxxxxxxxxx> wrote:
There are solutions to use hooks instead of polling, but this requires to grant admin permission to the GitHub Bot, and we're reluctant to do that for security reasons. See https://wiki.eclipse.org/Jenkins#GitHub_Pull_Request_Builder_Plugin for details.

We suggest to configure polling to a reasonable frequency, like every 5 to 10min (H/5 * * * * or  H/10 * * * *).

Thanks.

Mikaël Barbero 
Team Lead - Release Engineering | Eclipse Foundation
📱 (+33) 642 028 039 | 🐦 @mikbarbero
Eclipse Foundation: The Platform for Open Innovation and Collaboration

Le 9 oct. 2018 à 11:02, Tom Jenkinson <tom.jenkinson@xxxxxxxxxx> a écrit :

I guess so, perhaps we should ask Mikael if it is as I said first?

I would expect it will be a per-project setting that project leads will need to enable.

On 8 October 2018 at 22:42, Bill Shannon <bill.shannon@xxxxxxxxxx> wrote:
Can you file a ticket for the Eclipse folks to enable/configure this?

Thanks.

Tom Jenkinson wrote on 10/ 8/18 12:13 PM:
I think we should be able to configure this:

I looked at the JTA settings and the "GitHub hook trigger for GITScm polling" setting is available but I don't seem to have permission to see the URL I would need under "Manage Jenkins > Configure System > GitHub" in order for Manual Mode to work.

On 8 October 2018 at 20:04, Bill Shannon <bill.shannon@xxxxxxxxxx> wrote:
If I set up a Jenkins job to poll the repository for changes,
what polling frequency should I use?

Or is there a way to trigger a build when a repo changes without polling?
_______________________________________________
ee4j-build mailing list
ee4j-build@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ee4j-build



_______________________________________________
ee4j-build mailing list
ee4j-build@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ee4j-build






_______________________________________________
ee4j-build mailing list
ee4j-build@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ee4j-build


Back to the top