From 8f8ff2863398ae4d6e3f45220e1310f485c751dd Mon Sep 17 00:00:00 2001 From: Wojciech Jarmosz Date: Thu, 13 May 2021 23:40:39 +0200 Subject: [PATCH] Add invoking train from create-stats job --- Jenkinsfile_stats | 7 +++++++ Jenkinsfile_train | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile_stats b/Jenkinsfile_stats index b37a194..ab35f7d 100644 --- a/Jenkinsfile_stats +++ b/Jenkinsfile_stats @@ -18,5 +18,12 @@ pipeline { } } } + stage ('Invoke training') { + steps { + build job: 's434704-training', parameters: [ + string(name: 'options', value: "") + ] + } + } } } \ No newline at end of file diff --git a/Jenkinsfile_train b/Jenkinsfile_train index 1159e25..d835ce4 100644 --- a/Jenkinsfile_train +++ b/Jenkinsfile_train @@ -1,9 +1,9 @@ pipeline { agent { - docker { image 'jarmosz/ium:1.1' } - } + dockerfile true + } parameters { - string(name: 'optioms', description: 'Trainig script options') + string(name: 'options', description: 'Trainig script options') buildSelector(defaultSelector: lastSuccessful(), description: 'Use latest build', name: 'BUILD_SELECTOR') } stages {