2021-04-19 14:14:54 +02:00
|
|
|
pipeline{
|
|
|
|
agent any
|
|
|
|
properties([parameters([text(defaultValue: '50', description: 'Number of lines to cutoff', name: 'CUTOFF')])])
|
|
|
|
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{
|
|
|
|
./script.sh
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Archive artifacts'){
|
|
|
|
steps{
|
|
|
|
archiveArtifacts 'test.csv'
|
|
|
|
archiveArtifacts 'dev.csv'
|
|
|
|
archiveArtifacts 'train.csv'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-17 19:50:37 +02:00
|
|
|
}
|