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'