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}' }