epochs parameter

This commit is contained in:
Karolina Oparczyk 2021-05-17 21:54:47 +02:00
parent 18c05640d1
commit 4f546942b2

View File

@ -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'