ium_s434700/stats/Jenkinsfile

36 lines
965 B
Plaintext
Raw Permalink Normal View History

2021-05-25 18:39:55 +02:00
pipeline {
agent {
dockerfile true
}
stages {
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 's434700-create-dataset',
filter: '*.csv',
2021-05-25 18:44:03 +02:00
target: 'datasets'])
2021-05-25 18:39:55 +02:00
}
}
}
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s434700/ium_s434700.git'
}
}
stage('sh: Shell Script') {
steps {
2021-05-25 18:44:03 +02:00
sh 'chmod +x ./stats/stats.sh'
sh './stats/stats.sh'
2021-05-25 18:39:55 +02:00
}
}
stage('archiveArtifacts') {
steps {
2021-05-25 18:45:19 +02:00
archiveArtifacts 'train_set_stats.txt'
archiveArtifacts 'dev_set_stats.txt'
archiveArtifacts 'test_set_stats.txt'
2021-05-25 18:39:55 +02:00
}
}
}
}