-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When withScmChangesOnly
flag is not set doesn't update repo
#13
Comments
withScmChangesOnly flag doesn't prevent pulling from repository. There should another reason e.g. maybe it's wrong hook and when nci checks for changes they are absent. |
Well, I assumed this from this line of code Also Any other pointers? Should I close this one and open an issue in nci-base-webhook? |
Scheduler also does only builds.create |
Okay, here are three builds:
In github logs I see hook with code 200 that initiated the build, webhook request content follows. Headers:
Body (partial, note revisions):
The only issue I see at github log is the following "push" event with a tag, which returns error code 406. I assume that it's fine. |
Well, there is a |
@tailhook could you check that with latest nci (1.0.9 currently)? |
Yes, it works now. Not sure since what version, but I'm closing it anyway. |
great to hear that, thanks for checking it
… On 21 Apr 2017, at 19:56, Paul Colomiets ***@***.***> wrote:
Yes, it works now. Not sure since what version, but I'm closing it anyway.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I think this flag should only skip build if there are no changes. But it looks like if the
withScmChangesOnly
is false, nci doesn't even update the repo to find out whether the latter has any changes.In particular, I have a problem with git webhook, where I can't set
withScmChangesOnly
flag at all (it's always false). So it always rebuilds old version when webhook is triggered (builds from scheduler are okay, though)The text was updated successfully, but these errors were encountered: