Skip to main content

Why Are My Jenkins Jobs Not Showing Up in Spinnaker?

Feb 3, 2017 by Isaac Mosquera

This is a common problem we see typically because Igor is not enabled. You can confirm this is true by looking at the Spinnaker Gate API to see if gate is getting any builds at all by executing the following:

curl http://${GATE_HOST}:8084/v2/builds

it should respond with an empty JSON array: []

You would also see in your Igor logs

2017-02-03 22:43:53.143  INFO 1 --- [readScheduler-1] c.n.s.igor.jenkins.JenkinsBuildMonitor   : - Polling cycle started -
2017-02-03 22:43:53.143  INFO 1 --- [readScheduler-1] c.n.s.igor.jenkins.JenkinsBuildMonitor   : Checking for new builds for jenkins-prod
2017-02-03 22:43:53.188  INFO 1 --- [readScheduler-1] c.n.s.igor.jenkins.JenkinsBuildMonitor   : finding new builds in jenkins-prod : 150 items
2017-02-03 22:43:53.197  INFO 1 --- [readScheduler-1] c.n.s.igor.jenkins.JenkinsBuildMonitor   : Took 53ms to retrieve projects (master: jenkins-prod)

If this is the case you’ll want to enable Igor in your spinnaker-local.yml by going adding the following:

services:
  igor:
    enabled: true

Make sure to restart Armory Spinnaker with the following:

services armory-spinnaker restart

Then curl the gate host again

curl http://${GATE_HOST}:8084/v2/builds

it should respond with your Jenkins host in the array: [jenkins-prod]

You can take a look at the Gate logs to make sure the requests are being sent to Igor:

docker logs -f igor

Feel free to reach out and run

Recently Published Posts

October 20, 2021
|
by Jason McIntosh

Monitoring Spinnaker: Part 1

Overview One of the questions that comes up a lot is how you monitor Spinnaker itself.  Not the apps Spinnaker is deploying, but Spinnaker itself and how it’s performing.  This is a question that has a lot of different answers. There are a few guidelines, but many of the answers are the same as how […]

Read more

October 18, 2021
|
by David Morgenthaler

The Importance of Patents: Interview with Nick Petrella, Head of Legal

    In honor of Armory’s recent acquisition of a patent for continuous software deployment, we sat down with Nick Petrella, Head of Legal, for a casual conversation covering a wide range of subjects, from patent law to Nick’s background as a software engineer and why he made the leap to the law. Check out […]

Read more

October 11, 2021
|
by Carl Timm

Armory Agent for Kubernetes Simplifies K8s Complexity

I’ll be upfront with you, I’m a sucker for a good origin story. It’s one of the reasons I spent hours engrossed in the Marvel Cinematic Universe not too long ago.  Rooting for incredibly flawed individuals with an outsized sense of duty and superpowers to back it up….What’s not to love?  My partner has a […]

Read more