2021-03-24 12:59:23 +01:00
|
|
|
pipeline{
|
|
|
|
agent any
|
2021-05-16 08:02:00 +02:00
|
|
|
//properties([parameters([text(defaultValue: '50', description: 'Number of lines to cutoff', name: 'CUTOFF')])])
|
2021-03-24 12:59:23 +01:00
|
|
|
stages{
|
2021-03-28 13:58:35 +02:00
|
|
|
stage('checkout: Check out from version control'){
|
|
|
|
steps{
|
2021-05-15 18:39:17 +02:00
|
|
|
git url: 'https://git.wmi.amu.edu.pl/s437622/ium_s437622.git'
|
2021-03-28 13:58:35 +02:00
|
|
|
}
|
|
|
|
}
|
2021-05-15 18:39:17 +02:00
|
|
|
stage('docker')
|
|
|
|
{
|
2021-03-28 13:58:35 +02:00
|
|
|
steps{
|
2021-05-15 18:39:17 +02:00
|
|
|
script{
|
|
|
|
def img = docker.build('jpogodzinski/ium:1')
|
|
|
|
img.inside{
|
|
|
|
sh './script.sh'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-28 13:58:35 +02:00
|
|
|
}
|
|
|
|
}
|
2021-05-15 18:39:17 +02:00
|
|
|
stage('end'){
|
2021-03-28 13:58:35 +02:00
|
|
|
steps{
|
|
|
|
archiveArtifacts 'test.csv'
|
|
|
|
archiveArtifacts 'dev.csv'
|
|
|
|
archiveArtifacts 'train.csv'
|
2021-03-24 12:59:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|