ium_434784/stats/Jenkinsfile
2021-03-29 03:23:55 +02:00

30 lines
742 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: 'datasets']);
}
}
}
stage('sh: Shell Script'){
steps{
sh 'chmod +x stats/generate_stats.sh'
sh './stats/generate_stats.sh'
}
}
stage('archiveArtifacts')
steps{
archiveArtifacts 'stats.txt'
}
}
}
}