ium_434784/stats/Jenkinsfile
2021-04-12 01:03:11 +02:00

32 lines
795 B
Groovy

pipeline {
agent {
docker {image 'maciejsobkowiak/ium:1'}
}
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'
}
}
}
}