epochs parameter
All checks were successful
s434765-training/pipeline/head This commit looks good

This commit is contained in:
Karolina Oparczyk 2021-05-17 21:57:30 +02:00
parent 4f546942b2
commit 134ac629bb

View File

@ -20,11 +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 ''' + EPOCHS + '''
./neural_network.sh | tee output.txt
chmod 777 neural_network.sh
./neural_network.sh $EPOCHS | tee output.txt
'''
archiveArtifacts 'output.txt'
archiveArtifacts 'model/**/*.*'