Skip to content

[BEAM-1375] Trigger builds on Github push notifications.#1893

Closed
jasonkuster wants to merge 2 commits intoapache:masterfrom
jasonkuster:scm-trigger
Closed

[BEAM-1375] Trigger builds on Github push notifications.#1893
jasonkuster wants to merge 2 commits intoapache:masterfrom
jasonkuster:scm-trigger

Conversation

@jasonkuster
Copy link
Contributor

Signed-off-by: Jason Kuster jasonkuster@google.com

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI on your fork and ensure the whole test matrix passes).
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

… polling SCM every minute.

Signed-off-by: Jason Kuster <jasonkuster@google.com>
@jasonkuster
Copy link
Contributor Author

R: @davorbonaci

Copy link
Member

@davorbonaci davorbonaci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a few tiny polish comments.

static def setPostCommit(def context,
def build_schedule = '0 */6 * * *',
def scm_schedule = '* * * * *',
def poll_github = true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spacing

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

static def setPostCommit(def context,
def build_schedule = '0 */6 * * *',
def scm_schedule = '* * * * *',
def poll_github = true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

poll_github -> trigger_every_push

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


// Set that this is a PostCommit job.
// Polls SCM on Feb 31st, i.e. never.
// Does not poll SCM.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge these two lines:
This is a post-commit job that runs once per day, not for every push.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


// Set that this is a PostCommit job.
// Polls SCM on Feb 31st, i.e. never.
// Does not poll SCM.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling f99e027 on jasonkuster:scm-trigger into ** on apache:master**.

@asfbot
Copy link

asfbot commented Feb 2, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/6980/
--none--

Signed-off-by: Jason Kuster <jasonkuster@google.com>
@jasonkuster
Copy link
Contributor Author

Addressed comments

@davorbonaci PTAL

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.002%) to 69.641% when pulling 1110502 on jasonkuster:scm-trigger into 0e6b379 on apache:master.

@asfbot
Copy link

asfbot commented Feb 2, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/6990/
--none--

Copy link
Member

@davorbonaci davorbonaci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'll merge and should get picked up automatically shortly. Please be on the look-out for any regressions tomorrow.

@asfgit asfgit closed this in 0b866d4 Feb 2, 2017
@jasonkuster jasonkuster deleted the scm-trigger branch February 3, 2017 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants