27 lines
697 B
Groovy
27 lines
697 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Copy Archive') {
|
|
steps {
|
|
script {
|
|
step ([$class: 'CopyArtifact',
|
|
projectName: 's434784-create-dataset',
|
|
selector: buildParameter('BUILD_SELECTOR'),
|
|
filter: "data*",
|
|
target: 'dataset']);
|
|
}
|
|
}
|
|
}
|
|
stage('sh: Shell Script'){
|
|
steps{
|
|
sh 'chmod +x stats/generate_stats.sh'
|
|
sh './stats/generate_stats.sh'
|
|
}
|
|
}
|
|
// stage('archiveArtifacts')
|
|
// steps{
|
|
|
|
// }
|
|
// }
|
|
} |