Skip to content

Commit 37d55ef

Browse files
author
Chris Park
committed
Fiddling with docker calls
1 parent 7b201aa commit 37d55ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ node {
1010
}
1111
stage("Test with Docker") {
1212
withEnv(["API_KEY=env.ROSETTE_API_KEY"]) {
13-
docker.image('rosetteapi/docker-python').run()
13+
sh "docker run --rm -it -e API_KEY=${API_KEY} -v ${SOURCEDIR}:/source rosetteapi/docker-python"
1414
}
1515
}
1616
slack(true)

0 commit comments

Comments
 (0)