.
This commit is contained in:
parent
bdbde335e9
commit
2bdbb4c1c3
@ -1,21 +1,15 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any;
|
agent any;
|
||||||
|
|
||||||
parameters{
|
parameters{
|
||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
description: 'Which build to use for copying data artifacts',
|
description: 'Which build to use for copying artifacts',
|
||||||
name: 'BUILD_SELECTOR_DATASET'
|
name: 'BUILD_SELECTOR'
|
||||||
)
|
)
|
||||||
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stages{
|
stages{
|
||||||
|
stage('copy-artifacts') {
|
||||||
stage('copy-artifacts')
|
steps {
|
||||||
{
|
|
||||||
steps
|
|
||||||
{
|
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's434784-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434784-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -27,6 +21,7 @@ pipeline {
|
|||||||
image.inside{
|
image.inside{
|
||||||
sh 'chmod +x evaluation.py'
|
sh 'chmod +x evaluation.py'
|
||||||
sh 'python3 evaluation.py'
|
sh 'python3 evaluation.py'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user