ium_434784/Jenkinsfile
2021-03-29 02:51:34 +02:00

34 lines
868 B
Groovy

pipeline {
agent any
parameters{
string(
defaultValue: '1000',
description: 'cutoff',
name: 'CUTOFF',
trim:false
)
}
stages {
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s434784/ium_434784'
}
}
stage('sh: Shell Script') {
steps {
sh 'chmod +x preparations.sh'
sh 'echo ${CUTOFF}'
sh './preparations.sh ${CUTOFF}'
}
}
stage('archiveArtifacts'){
steps{
archiveArtifacts 'data.dev'
archiveArtifacts 'data.train'
archiveArtifacts 'data.test'
}
}
}
}