From 004da3effdf3a0d4d8a876b3df0ee8f7510370fb Mon Sep 17 00:00:00 2001 From: jakubknczny Date: Sun, 11 Apr 2021 18:49:02 +0200 Subject: [PATCH] test logs --- lab2/Jenkinsfile_dataset_stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lab2/Jenkinsfile_dataset_stats b/lab2/Jenkinsfile_dataset_stats index 9f731de..548903f 100644 --- a/lab2/Jenkinsfile_dataset_stats +++ b/lab2/Jenkinsfile_dataset_stats @@ -1,5 +1,5 @@ node { - docker.image('kubakonieczny/ium:v1.0').withRun('-t') { + docker.image('kubakonieczny/ium:v1.0').withRun('-t') { c -> docker.image('kubakonieczny/ium:v1.0').inside { stage('Test') { sh 'cat /etc/issue' @@ -7,4 +7,5 @@ node { } } } + sh 'docker logs ${c.id}' }