This commit is contained in:
parent
4f546942b2
commit
134ac629bb
@ -20,11 +20,10 @@ node {
|
|||||||
stage('Test') {
|
stage('Test') {
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
|
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")
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_SELECTOR")
|
||||||
def EPOCHS = "${EPOCHS}"
|
|
||||||
sh '''
|
sh '''
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
chmod 777 neural_network.sh ''' + EPOCHS + '''
|
chmod 777 neural_network.sh
|
||||||
./neural_network.sh | tee output.txt
|
./neural_network.sh $EPOCHS | tee output.txt
|
||||||
'''
|
'''
|
||||||
archiveArtifacts 'output.txt'
|
archiveArtifacts 'output.txt'
|
||||||
archiveArtifacts 'model/**/*.*'
|
archiveArtifacts 'model/**/*.*'
|
||||||
|
Loading…
Reference in New Issue
Block a user