Last active
August 29, 2015 13:59
-
-
Save jamescarr/10698207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| docker run --name ${JOB_NAME} -v ${WORKSPACE}:/project zapier/project-tests | |
| # copy build artifacts out of the container | |
| docker cp ${JOB_NAME}:/project/nosetests.xml . | |
| docker cp ${JOB_NAME}:/project/coverage.xml . | |
| docker cp ${JOB_NAME}:/project/cover . | |
| # remove the container | |
| docker rm ${JOB_NAME} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment