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

Spinnaker Tips: Setting a github status check on a PR from a pipeline

Oct 12, 2023

A common situation we hit is creating a pull request on github with some terraform changes that are run through our pipelines. We’d like to verify the terraform changes cleanly “plan” before we apply them. An example is when someone has a typo (how many times I’ve left dangling commas in a JSON object!) and […]

Read more

Introducing Pipelines-as-Code Plugin for Open Source Spinnaker

Jul 21, 2023

Easily Scale and Automate with Version Control in Git Developers choose best-of-breed version control systems like GitHub for a reason: they need the ability to collaborate and improve code together.  But a broken Spinnaker deployment pipeline can often be the last thing standing in the way of getting your application to market.  Until now. Armory’s […]

Read more

What is FedRAMP and Why It Matters

Jun 8, 2023

What’s FedRAMP? Federal Risk and Authorization Management Program (FedRAMP) is a government-wide program that provides a standardized approach to security assessment, authorization, and continuous monitoring for cloud products and services. FedRAMP is important since it’s the gold standard for assessing cloud service providers (CSP) within the government. Under this program, authorized FedRAMP cloud service providers […]

Read more