ium_s437622/Jenkinsfile

31 lines
816 B
Groovy

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/s437622/ium_s437622.git'
}
}
stage('docker')
{
steps{
script{
def img = docker.build('jpogodzinski/ium:1')
img.inside{
sh './script.sh'
}
}
}
}
stage('end'){
steps{
archiveArtifacts 'test.csv'
archiveArtifacts 'dev.csv'
archiveArtifacts 'train.csv'
}
}
}
}