TOC & Recently Viewed

Recently Viewed Topics

Jenkins

Before You Begin

These instructions describe how to push a Docker image from Jenkins to Tenable.io Container Security.

These steps assume you are already comfortable using Jenkins and are already pushing Docker images to a public or private registry. If you are already using Jenkins, but have not built Docker container images, familiarize yourself with the documentation for the Jenkins CloudBees Docker Build and Publish plugin.

Steps

  1. On the Jenkins dashboard, select the job you want to modify.
  2. Click Configure.
  3. In the Build section, click Add build step.
  4. In the drop down box, select Docker Build and Publish.
  5. Enter the details for the following configuration parameters:
    • Repository Name: The repository name and image name. For example, if you build a rabbitmq container image, you can name the repository rabbitmq and the image rabbitmq. In this example, in the Repository Name box, type rabbitmq/rabbitmq.
    • Tag: The tag name. The simplest tag name to use is latest.
    • Docker Host URI: The Jenkins path to the Docker Host. If the Docker Host is running on localhost, then in the Docker Host URI box, enter tcp://127.0.0.1:4243.
    • Docker registry URL: The Tenable.io Container Security API endpoint, which in this case is registry.cloud.tenable.com.
    • Registry credentials: The registry credentials that you select from the box.

  6. Click Save.

    Jenkins builds are sent to Tenable.io Container Security for storage, distribution, vulnerability scanning, and malicious code scanning.

Copyright 2017. Tenable Network Security, Inc. All rights reserved. Tenable Network Security, Nessus, SecurityCenter Continuous View, Passive Vulnerability Scanner, and Log Correlation Engine are registered trademarks of Tenable Network Security, Inc. All other products or services are trademarks of their respective owners.