ium_s437622/Jenkinsfile

31 lines
816 B
Plaintext
Raw Normal View History

2021-03-24 12:59:23 +01:00
pipeline{
agent any
2021-03-28 13:58:35 +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{
git url: 'https://git.wmi.amu.edu.pl/s437622/ium_s437622.git'
2021-03-28 13:58:35 +02:00
}
}
stage('docker')
{
2021-03-28 13:58:35 +02:00
steps{
script{
def img = docker.build('jpogodzinski/ium:1')
img.inside{
sh './script.sh'
}
}
2021-03-28 13:58:35 +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
}
}
}
}