From 662afb982920d74d78bd4f1c45c4f6d72b89dec2 Mon Sep 17 00:00:00 2001 From: s444417 Date: Mon, 11 Apr 2022 10:42:30 +0200 Subject: [PATCH] add docker container to job stats --- Jenkinsfile2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index d7cc6d6..0babca3 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -1,5 +1,4 @@ pipeline { - agent any parameters{ buildSelector( defaultSelector: lastSuccessful(), @@ -8,6 +7,9 @@ ) } + agent { + docker { image 'ubuntu:latest' } + } stages { stage("Check out from version control") { steps {