Skip to content
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

Why are merge requests triggered by Jenkins Cron? #183

Open
z00dev opened this issue Mar 30, 2016 · 8 comments
Open

Why are merge requests triggered by Jenkins Cron? #183

z00dev opened this issue Mar 30, 2016 · 8 comments

Comments

@z00dev
Copy link

z00dev commented Mar 30, 2016

In gitlab there is a webhook to start the merge request builder in Jenkins, but in the configuration there is a cron configuration, Jobs are triggered by the Cron it seems, how would i configure it so the webhook starts the job instantly?

Plugin Version: 2.0.0
Jenkins Version: 1.642.2
Gitlab CE Version: 8.5.4

@z00dev z00dev changed the title Why is merge requests triggered by Jenkins Cron? Why are merge requests triggered by Jenkins Cron? Mar 30, 2016
@marrrschine
Copy link

same question here!

@hoopesj
Copy link

hoopesj commented May 25, 2016

+1 !

@jwg4
Copy link
Contributor

jwg4 commented Jun 1, 2016

I believe that the webhook WILL start the job instantly. The cron settings just give you another way of triggering the same job.

@timols timols closed this as completed Jun 7, 2016
@marrrschine
Copy link

why did you close the issue? what is the solution? the build jobs will not be triggered unless you configure a cron job.

@timols
Copy link
Owner

timols commented Jun 7, 2016

@marrrschine I assumed that @jwg4's answer was sufficient:

I believe that the webhook WILL start the job instantly. The cron settings just give you another way of triggering the same job.

@marrrschine
Copy link

but it's not. automatic trigger does not work.

@timols timols reopened this Jun 7, 2016
@timols
Copy link
Owner

timols commented Jun 7, 2016

@marrrschine would you be interested in submitting a PR to resolve this issue?

@jwg4
Copy link
Contributor

jwg4 commented Jun 8, 2016

Correct me if I'm wrong, I think that @marrschine's issue is a little different from the original issue. They are saying that if you don't have cron triggers configured, webhooks don't work at all. But if you do have cron triggers, the job can be successfully triggered by a webhook (without waiting for the next poll). I think this might be the case based on my experience.

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

No branches or pull requests

5 participants