2021-03-29 03:04:56 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
2021-03-29 03:07:27 +02:00
|
|
|
stages {
|
2021-03-29 03:14:30 +02:00
|
|
|
|
2021-03-29 03:07:27 +02:00
|
|
|
stage('Copy Archive') {
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
step ([$class: 'CopyArtifact',
|
|
|
|
projectName: 's434784-create-dataset',
|
|
|
|
selector: buildParameter('BUILD_SELECTOR'),
|
|
|
|
filter: "data*",
|
2021-03-29 03:11:41 +02:00
|
|
|
target: 'dataset']);
|
2021-03-29 03:07:27 +02:00
|
|
|
}
|
2021-03-29 03:04:56 +02:00
|
|
|
}
|
|
|
|
}
|
2021-03-29 03:11:41 +02:00
|
|
|
stage('sh: Shell Script'){
|
|
|
|
steps{
|
|
|
|
sh 'chmod +x stats/generate_stats.sh'
|
|
|
|
sh './stats/generate_stats.sh'
|
|
|
|
}
|
|
|
|
}
|
2021-03-29 03:14:30 +02:00
|
|
|
}
|
|
|
|
}
|
2021-03-29 03:12:27 +02:00
|
|
|
// stage('archiveArtifacts')
|
|
|
|
// steps{
|
2021-03-29 03:11:41 +02:00
|
|
|
|
2021-03-29 03:12:27 +02:00
|
|
|
// }
|
2021-03-29 03:14:30 +02:00
|
|
|
// }
|