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

3 Common Spinnaker Challenges (and Easy Ways to Solve Them)

Sep 27, 2022

Spinnaker is the most powerful continuous delivery tool on the market.  DevOps engineers and developers recognize this power and are looking to use Spinnaker as a foundational tool in their Continuous Integration and Continuous Delivery (CI/CD) process for hybrid and multi-cloud deployments. Such a powerful, expansive open source tool needs expertise within your organization to […]

Read more

Streamline Advanced Kubernetes Deployments from GitHub Actions with New Armory Service

Sep 23, 2022

Today, Armory is excited to announce the availability of the GitHub Action for Armory Continuous Deployment-as-a-Service. GitHub is where developers shape the future of software. After a developer writes and tests their code in GitHub, it must be deployed. Armory’s GitHub Action for Continuous Deployment-as-a-Service extends the best-in-class deployment capabilities to Kubernetes. CD-as-a-Service enables declarative […]

Read more

When everyone is facing the same headwind, go on the offensive

Sep 12, 2022

Call me Pollyanna, but what a great time to be a Platform or DevOps engineer. If you’re working in a public company, the S&P is off ~20% year over year, so the value of your RSUs has wilted. If you’re working in a private company, venture funding and M&A velocity are anemic, making expansion capital […]

Read more