diff options
author | Seth Chisamore <schisamo@chef.io> | 2016-05-10 11:16:08 -0400 |
---|---|---|
committer | Seth Chisamore <schisamo@chef.io> | 2016-05-10 11:17:27 -0400 |
commit | 25830c578c54d63ca3cd290e51710e048c3378f8 (patch) | |
tree | 98c4a9cc6c9a1410723ecdbce94b9e7fbca84241 /ci | |
parent | 2ae36668fd0c1285cd6774381e2b5fdc02f6de61 (diff) | |
download | chef-25830c578c54d63ca3cd290e51710e048c3378f8.tar.gz |
Write chef-acceptance data to the Jenkins `$WORKSPACE`
Previously data was being written to the Chef package install path of
`/opt/chef/*/acceptance/*` which is bad for numerous reasons. Now that
chef/chef-acceptance#39 has been merged we can take advantage of Chef
Acceptance's new `--data-path` option which allows us to relocate this
directory into the Jenkins job's workspace for easy archiving.
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/verify-chef.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/verify-chef.sh b/ci/verify-chef.sh index 775eae9bd7..0f4d662a8f 100755 --- a/ci/verify-chef.sh +++ b/ci/verify-chef.sh @@ -103,7 +103,7 @@ if [ "x$ACCEPTANCE" != "x" ]; then sudo env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID pwd sudo env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID bundle config sudo env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID bundle install - sudo env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID KITCHEN_DRIVER=ec2 bundle exec chef-acceptance test --force-destroy + sudo env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID KITCHEN_DRIVER=ec2 bundle exec chef-acceptance test --force-destroy --data-path $WORKSPACE/chef-acceptance-data else PATH=/opt/$PROJECT_NAME/bin:/opt/$PROJECT_NAME/embedded/bin:$PATH export PATH |