2021-05-17 22:15:30 +02:00
|
|
|
node {
|
2021-05-17 22:22:29 +02:00
|
|
|
stage('Preparation') {
|
|
|
|
|
|
|
|
properties([
|
|
|
|
parameters([
|
|
|
|
buildSelector(defaultSelector: lastSuccessful(),
|
|
|
|
description: 'Which build to use for copying datasets',
|
|
|
|
name: 'BUILD_DATASET'),
|
|
|
|
buildSelector(defaultSelector: lastSuccessful(),
|
|
|
|
description: 'Which build to use for copying model',
|
|
|
|
name: 'BUILD_MODEL')
|
|
|
|
])
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
2021-05-17 22:15:30 +02:00
|
|
|
stage('Clone repo') {
|
|
|
|
docker.image("karopa/ium:11").inside {
|
|
|
|
stage('Test') {
|
2021-05-17 22:48:55 +02:00
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_DATASET")
|
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-training/master/', selector: buildParameter("BUILD_MODEL")
|
2021-05-17 22:15:30 +02:00
|
|
|
sh '''
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
chmod 777 evaluate_network.sh
|
|
|
|
./evaluate_network.sh | tee output.txt
|
|
|
|
'''
|
|
|
|
archiveArtifacts 'output.txt'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|