Brilliant! I had read that section of the plugin page before but then forgot about it.
Weird thing though Š loading that URL with cURL says: Scheduled polling of <MyProject> No git consumers for URI ssh://blah.blah/blah Is this just a bug that it finds a consumer, then says there aren't any? Thanks, Chris On 10/25/13 2:49 PM, "Daniel Beck" <[email protected]> wrote: >Try this: > >https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin#GitPlugin-Pushnotif >icationfromrepository > >Set the job to poll once a day or so ('H H * * *') to enable it to react >to that call. > >On 25.10.2013, at 22:23, cscooper <[email protected]> wrote: > >> I have a post-commit hook in GIT that launches the associated Jenkins >>job by >> loading http://jenkins/job/buildWithParameters using cURL - the problem >>is >> that job says "Started by anonymous user" which, while accurate, is not >> entirely helpful. >> >> Is there a way to pass information in the URL so that Jenkins can >>accurately >> say "Started due to a GIT change"? Or any random "Started by XYZ"? >> >> I have seen suggestions that I can put the information in the console >>log, >> or some other parameter, but those aren't going to be as obvious as if >>I can >> put it in the "Started by" line. >> >> Thanks, >> Chris >> >> >> >> >> -- >> View this message in context: >>http://jenkins-ci.361315.n4.nabble.com/Setting-Started-by-value-tp4679454 >>.html >> Sent from the Jenkins users mailing list archive at Nabble.com. >> >> -- >> You received this message because you are subscribed to the Google >>Groups "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send >>an email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > >-- >You received this message because you are subscribed to the Google Groups >"Jenkins Users" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected]. >For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
