Commit 2a7a4252 authored by Robert Knight's avatar Robert Knight

Output logs from s3-npm-publish Docker container

To help debug publishing failures, output logs from the container.  See
https://hypothes-is.slack.com/archives/C076LQFA4/p1490705667081734
parent 54519c63
...@@ -31,7 +31,9 @@ node { ...@@ -31,7 +31,9 @@ node {
// Upload the contents of the package to an S3 bucket, which it // Upload the contents of the package to an S3 bucket, which it
// will then be served from. // will then be served from.
docker.image('nickstenning/s3-npm-publish') docker.image('nickstenning/s3-npm-publish')
.withRun('', 'hypothesis s3://cdn.hypothes.is') { /* empty */ } .withRun('', 'hypothesis s3://cdn.hypothes.is') { c ->
sh "docker logs --follow ${c.id}"
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment