[Ci-users] Jenkins trigger/notification issues

Tue Dec 1 07:00:24 UTC 2015
James <purpleidea at gmail.com>

On Tue, Dec 1, 2015 at 12:52 AM, James <purpleidea at gmail.com> wrote:
> 3) Most importantly: triggering the builds: best I can come up with is
> putting a git post-update hook in my local repo, and `wget` the
> special: "Trigger builds remotely (e.g., from scripts)" url when I
> want to run it. This actually works, but it requires you to actually
> already be logged in to jenkins, and I wasn't sure how to dump in my
> username and password into a wget command.
>

PS: I hacked this part together with this script:
https://github.com/purpleidea/oh-my-vagrant/blob/master/extras/post-push.git-hook
It basically logs in with wget and saves a cookie to use for the
subsequent kick. Unfortunately it's all linked up to a "git pushx"
target. If someone knows a better way to kick this off, please LMK. I
don't think I should store the CentOS CI password in the github hosted
hooks!

> Thanks,
> James
> @purpleidea