From 4f546942b2d3cb59bd3fe07706834833b288cb01 Mon Sep 17 00:00:00 2001 From: Karolina Oparczyk Date: Mon, 17 May 2021 21:54:47 +0200 Subject: [PATCH] epochs parameter --- JenkinsfileNeural | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JenkinsfileNeural b/JenkinsfileNeural index b48c042..55d0d5a 100644 --- a/JenkinsfileNeural +++ b/JenkinsfileNeural @@ -20,9 +20,10 @@ node { stage('Test') { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]]) copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_SELECTOR") + def EPOCHS = "${EPOCHS}" sh ''' #!/usr/bin/env bash - chmod 777 neural_network.sh ${params.EPOCHS} + chmod 777 neural_network.sh ''' + EPOCHS + ''' ./neural_network.sh | tee output.txt ''' archiveArtifacts 'output.txt'