From 28c3f3877768e9536af27525a0ee35ab38d37981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zar=C4=99ba?= Date: Thu, 8 Apr 2021 23:07:20 +0200 Subject: [PATCH] Zaktualizuj 'Jenkinsfile_Stats' --- Jenkinsfile_Stats | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile_Stats b/Jenkinsfile_Stats index 9b242c9..fbc0413 100644 --- a/Jenkinsfile_Stats +++ b/Jenkinsfile_Stats @@ -1,5 +1,5 @@ pipeline { - agent {docker {image 's430705/ium:1'}} + agent any parameters { buildSelector(defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR') } @@ -13,6 +13,11 @@ pipeline { } } stage("Lab04 CW3"){ + agent { + docker { + image "s430705/ium:1" + } + } steps { sh 'python3 ./script2.py' }