acceptance.sh

Our acceptance shell script is relatively small, but allows Jenkins to have a path for this build and sources in RVM prior to running Kitchen Test. We want to make sure that the build stays consistent, so we want to control the environment around the build as well:

#profile/acceptance.sh#!/bin/bashPATH=$PATH:/usr/local/rvm/gems/ruby-2.4.1/bin/:/usr/local/binsource /usr/local/rvm/bin/rvm/usr/local/rvm/gems/ruby-2.4.1/wrappers/kitchen test

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.