From a6c97ca1d50ff26d2b29492ce05fcb6bf98636a8 Mon Sep 17 00:00:00 2001 From: Maciej Tyczynski Date: Wed, 19 Apr 2023 23:24:36 +0200 Subject: [PATCH] added docker to jenkinsfiles --- Jenkinsfile | 12 ++++++++++-- Jenkinsfile-dataset_stats | 5 +++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 015b347..4b87fa2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,6 +6,11 @@ pipeline { git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176' } } + stage('Docker'){ + agent { + dockerfile true + } + } stage('Run script') { steps { sh 'sh getdata.sh' @@ -16,5 +21,8 @@ pipeline { } } } - } -} \ No newline at end of file + } + + + + } \ No newline at end of file diff --git a/Jenkinsfile-dataset_stats b/Jenkinsfile-dataset_stats index a71161d..ae725f4 100644 --- a/Jenkinsfile-dataset_stats +++ b/Jenkinsfile-dataset_stats @@ -12,6 +12,11 @@ pipeline { git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176' } } + stage('Docker'){ + agent { + dockerfile true + } + } stage('Copy Artifacts') { steps { copyArtifacts(