2021-03-25 13:29:44 +01:00
|
|
|
pipeline {
|
2021-04-11 19:58:10 +02:00
|
|
|
agent {
|
2021-05-25 17:44:28 +02:00
|
|
|
dockerfile true
|
|
|
|
}
|
2021-03-27 15:56:49 +01:00
|
|
|
stages {
|
2021-03-27 17:10:00 +01:00
|
|
|
stage('checkout: Check out from version control') {
|
2021-03-27 15:56:49 +01:00
|
|
|
steps {
|
2021-03-27 17:31:51 +01:00
|
|
|
git 'https://git.wmi.amu.edu.pl/s434700/ium_s434700.git'
|
2021-03-27 15:56:49 +01:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 17:30:11 +01:00
|
|
|
stage('sh: Shell Script') {
|
|
|
|
steps {
|
2021-05-25 18:53:22 +02:00
|
|
|
sh 'chmod +x ./data/data.sh'
|
|
|
|
sh './data/data.sh'
|
2021-03-27 17:30:11 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('archiveArtifacts') {
|
2021-05-25 17:44:28 +02:00
|
|
|
steps {
|
|
|
|
archiveArtifacts 'train_set.csv'
|
|
|
|
archiveArtifacts 'dev_set.csv'
|
|
|
|
archiveArtifacts 'test_set.csv'
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 15:56:49 +01:00
|
|
|
}
|
2021-05-27 17:14:08 +02:00
|
|
|
post {
|
|
|
|
success {
|
|
|
|
build job: 's434700-training'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|