From 75f51c18534bb2e7a1de9b35c2d01308b9d86b50 Mon Sep 17 00:00:00 2001 From: s444417 Date: Mon, 25 Apr 2022 19:16:01 +0200 Subject: [PATCH] add jenkins3 --- Jenkinsfile | 3 +++ Jenkinsfile3 | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 Jenkinsfile3 diff --git a/Jenkinsfile b/Jenkinsfile index f15a51b..8d88e9a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,5 +31,8 @@ pipeline { archiveArtifacts 'data.txt' } } + stage ('Starting train job') { + build job: 's444417-training' + } } } \ No newline at end of file diff --git a/Jenkinsfile3 b/Jenkinsfile3 new file mode 100644 index 0000000..f5bad76 --- /dev/null +++ b/Jenkinsfile3 @@ -0,0 +1,17 @@ +pipeline { + agent none + stages { + stage("start docker") { + agent { + docker.image.inside('mikolajk/ium:latest') { + archiveArtifacts './Participants_Data_HPP/Train.csv ./Participants_Data_HPP/Test.csv ./Participants_Data_HPP/Dev.csv' + } + } + } + stage("Check out from version control") { + steps { + checkout scm + } + } + } +} \ No newline at end of file