2021-04-19 14:14:54 +02:00
|
|
|
pipeline{
|
|
|
|
agent any
|
2021-04-19 14:33:08 +02:00
|
|
|
properties([options([text(defaultValue: '50', description: 'Number of lines to cutoff', name: 'CUTOFF')])])
|
2021-04-19 14:14:54 +02:00
|
|
|
stages{
|
|
|
|
stage('checkout: Check out from version control'){
|
|
|
|
steps{
|
|
|
|
git url: 'https://git.wmi.amu.edu.pl/s434780/ium_434780'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('sh: Shell Script'){
|
|
|
|
steps{
|
2021-04-19 14:33:08 +02:00
|
|
|
./script.sh
|
2021-04-19 14:14:54 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Archive artifacts'){
|
|
|
|
steps{
|
|
|
|
archiveArtifacts 'test.csv'
|
|
|
|
archiveArtifacts 'dev.csv'
|
|
|
|
archiveArtifacts 'train.csv'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-17 19:50:37 +02:00
|
|
|
}
|