ium_s434700/stats/Jenkinsfile
2021-05-25 18:45:19 +02:00

36 lines
965 B
Groovy

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