سؤال

I'm trying to trigger a build through a http request as described here. But when I send the request like

curl http://yourserver/jenkins/git/notifyCommit?url=<URL of the Git repository>

I get this:

Jobs found but they aren't configured for polling

I can't find any option to allow this. Any help? Thanks!

هل كانت مفيدة؟

المحلول

Under your Job Configuration, scroll down to Build Triggers section, and checkmark Poll SCM. Configure the cron schedule for something infrequent, like once a month.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top