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

Reduce the Blast Radius of a Bad Deployment with Automated Canary Analysis

May 23, 2022

Software deployment processes differ across organizations, teams, and applications. The most basic, and perhaps the riskiest, is the “big bang deployment.” This strategy updates all nodes within the target environment simultaneously with the new software version. This deployment strategy causes many issues, including potential downtime or other issues while the update is in progress. It […]

Read more

Reliable and Automatic Multi-Target Deployments

May 16, 2022

Multi-target deployments can feel tedious as you deploy the same code over and over to multiple clouds and environments — and none of them in the same way. With an automatic multi-target deployment tool, on the other hand, you do the work once and deliver your code everywhere it needs to be. Armory provides an […]

Read more

Learning out Loud: KubeCon EU edition

May 11, 2022

KubeCon+CloudNativeCon EU is one of the world’s largest tech conferences. Here, users, developers, and companies who have and intend to adopt the Cloud Native standard of running applications with Kubernetes in their organizations come together for 5 days. From May 16-20, 2022, tech enthusiasts will congregate both virtually and in person in Valencia, Spain to […]

Read more