Skip to content

Commit ac3a813

Browse files
author
Chris Park
committed
One last try to use docker.image
1 parent 854b88d commit ac3a813

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ node {
1010
}
1111
stage("Test with Docker") {
1212
withEnv(["API_KEY=${env.ROSETTE_API_KEY}", "ALT_URL=${env.BINDING_TEST_URL}"]) {
13-
sh "docker run --rm -e API_KEY=${API_KEY} -e ALT_URL=${ALT_URL} -v ${SOURCEDIR}:/source rosetteapi/docker-python"
13+
//sh "docker run --rm -e API_KEY=${API_KEY} -e ALT_URL=${ALT_URL} -v ${SOURCEDIR}:/source rosetteapi/docker-python"
14+
docker.image("rosetteapi/docker-python").run("-e API_KEY=${API_KEY} -e ALT_URL=${ALT_URL} -v ${SOURCEDIR}:/source") {}
1415
}
1516
}
1617
slack(true)

0 commit comments

Comments
 (0)