diff --git a/lab2/Jenkinsfile_dataset_stats b/lab2/Jenkinsfile_dataset_stats index 01bb14a..b3025e4 100644 --- a/lab2/Jenkinsfile_dataset_stats +++ b/lab2/Jenkinsfile_dataset_stats @@ -1,15 +1,7 @@ -pipeline { - agent { - docker { - image 'kubakonieczny/ium:v1.0' - args '-t' - } - } - stages { - stage('archive artifacts') { - steps { - archiveArtifacts 'stats.txt' - } +node { + docker.image('kubakonieczny/ium:v1.0').inside { + stage('Test') { + sh 'cat /etc/issue' } } }