From 2f09ede3198664297e13d32ac771eefcf4cce1be Mon Sep 17 00:00:00 2001 From: Wojciech Jarmosz Date: Thu, 13 May 2021 22:43:26 +0200 Subject: [PATCH] Fixes for Jenkinsfile_train --- Jenkinsfile_train | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile_train b/Jenkinsfile_train index 6952ed2..1159e25 100644 --- a/Jenkinsfile_train +++ b/Jenkinsfile_train @@ -13,7 +13,9 @@ pipeline { } } stage("Run training"){ - sh "python3 training.py ${params.options}" + steps { + sh "python3 training.py ${params.options}" + } } stage('Save trained model files') { steps{ @@ -23,7 +25,7 @@ pipeline { } post { always { - mail body: ${currentBuild.currentResult}, subject: 's434704', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + mail body: "${currentBuild.currentResult}", subject: 's434704', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' } } } \ No newline at end of file