Public Repository

Last pushed: a year ago
Short Description
Monitoring (i.e. REST APIs) inside a Docker image with Jenkins and Newman!
Full Description

Overview

This Docker image provides a way to run Postman collections via Newman and Jenkins inside of a Docker container. If you're looking for a way to monitor your API endpoints, this is the project you've been looking for!

Jenkins

The Jenkins Continuous Integration and Delivery server.
This is a fully functional Jenkins server, based on the Long Term Support release http://jenkins.io/.

Newman

Newman is a command-line collection runner for Postman. It allows you to effortlessly run and test a Postman collection directly from the command-line. It is built with extensibility in mind so that you can easily integrate it with your continuous integration servers and build systems.

Use cases include:

Run continuously Postman tests (collections) via Newman powered by Jenkins jobs.

Images

  • jenkins
    Base Docker image (Installs java:8-jdk).
  • pstman/newman_ubuntu1404
    This image automatically install curl, npm and Newman.

Methodology

The key to this project and to getting Newman to work inside
of a Jenkins container is the wrapper script.

The wrapper script does the following things:

Adds curl and npm, so you can spin Newman and Jenkins jobs.

Docker Pull Command
Owner
ekostadinov