23 lines
647 B
Groovy
23 lines
647 B
Groovy
pipeline{
|
|
agent any
|
|
properties([options([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'
|
|
}
|
|
}
|
|
}
|
|
} |