evaluation branch
Some checks failed
s434765-training/pipeline/head This commit looks good
s434765-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
Karolina Oparczyk 2021-05-17 22:22:29 +02:00
parent 336fd44524
commit 02da6bf4cd

View File

@ -1,9 +1,24 @@
node { node {
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')
])
]
)
}
stage('Clone repo') { stage('Clone repo') {
docker.image("karopa/ium:11").inside { docker.image("karopa/ium:11").inside {
stage('Test') { stage('Test') {
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_SELECTOR") copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_DATASET")
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-training', selector: buildParameter("BUILD_SELECTOR") copyArtifacts fingerprintArtifacts: true, projectName: 's434765-training', selector: buildParameter("BUILD_MODEL")
sh ''' sh '''
#!/usr/bin/env bash #!/usr/bin/env bash
chmod 777 evaluate_network.sh chmod 777 evaluate_network.sh