From 2c9975236b3d2a7c87dcb6f71cb308c63bf7a871 Mon Sep 17 00:00:00 2001 From: jakubknczny Date: Sun, 11 Apr 2021 18:41:00 +0200 Subject: [PATCH] test scrippted --- lab2/Jenkinsfile_dataset_stats | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) 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' } } }