add jenkisfile dataset-stats
This commit is contained in:
parent
8cccaf1d55
commit
7763021407
34
Jenkinsfile-dataset-stats
Normal file
34
Jenkinsfile-dataset-stats
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
stages {
|
||||||
|
stage('Preparation') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
properties([
|
||||||
|
parameters([
|
||||||
|
buildSelector(
|
||||||
|
defaultSelector: 'lastSuccessful()',
|
||||||
|
description: 'Which build to use for copying artifacts',
|
||||||
|
name: 'BUILD_SELECTOR'
|
||||||
|
)
|
||||||
|
])
|
||||||
|
])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Checkout') {
|
||||||
|
steps {
|
||||||
|
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487175/ium_z487175.git'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Copy dataset artifacts') {
|
||||||
|
steps {
|
||||||
|
copyArtifacts(
|
||||||
|
projectName: 'z-s487175-create-dataset',
|
||||||
|
fingerprintArtifacts: true,
|
||||||
|
selector: buildParameter('BUILD_SELECTOR')
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user