Testing to see if environment variables are not persisting across commands

This commit is contained in:
Chris Long
2018-03-22 00:08:37 -07:00
parent 8239eac52f
commit d13f0ea897

View File

@@ -52,6 +52,8 @@ jobs:
- run: - run:
name: Choose which build gets run name: Choose which build gets run
command: | command: |
echo "VAGRANT_MODIFIED=$VAGRANT_MODIFIED"
echo "PACKER_MODIFIED=$PACKER_MODIFIED"
if [[ "$PACKER_MODIFIED" -eq 1 ]] && [[ "$VAGRANT_MODIFIED" -eq 1 ]]; then if [[ "$PACKER_MODIFIED" -eq 1 ]] && [[ "$VAGRANT_MODIFIED" -eq 1 ]]; then
echo "Running the test suite for Packer and Vagrant changes" echo "Running the test suite for Packer and Vagrant changes"
chmod +x ci/circle_workflows/packer_and_vagrant_changes.sh chmod +x ci/circle_workflows/packer_and_vagrant_changes.sh