jenkins push trigger


#1

What is the best approach to trigger a puppet run via jenkins using sensu?

I want our developers to push to git and upon successful jenkins build have jenkins perform a puppet run in the development environment.

Who is doing a sensu ‘push’ via jenkins?

My assumption was that our jenkins server could fire off an alert on the sensu bus and the sensu-server would then handle the alert by firing off a sensu check (puppet run) to the intended servers via the bus.

Does sensu work like this?

Corey


#2

I’ve used this pattern, you can use the Sensu API /request to trigger puppet runs on a subscription.

···

On Jun 3, 2014 9:11 AM, “Corey Osman” corey@logicminds.biz wrote:

What is the best approach to trigger a puppet run via jenkins using sensu?

I want our developers to push to git and upon successful jenkins build have jenkins perform a puppet run in the development environment.

Who is doing a sensu ‘push’ via jenkins?

My assumption was that our jenkins server could fire off an alert on the sensu bus and the sensu-server would then handle the alert by firing off a sensu check (puppet run) to the intended servers via the bus.

Does sensu work like this?

Corey