ium_434766/Jenkinsfile
s434766 eb9be582ac
Some checks failed
s434766-training/pipeline/head There was a failure building this commit
s434766-evaluation/pipeline/head There was a failure building this commit
s10
2021-05-10 11:21:20 +02:00

35 lines
892 B
Groovy

pipeline {
agent {
dockerfile true
}
parameters {
string (
defaultValue: '40',
description: 'Podaj ilość wierszy do odcięcia ze zbioru danych',
name: 'CUTOFF',
trim: false
)
}
stages {
stage('Docker'){
steps{
sh 'python3 ./create.py'
sh 'python3 "./stroke-pytorch.py" > model.txt'
}
}
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s434766/ium_434766.git'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'model.txt'
archiveArtifacts 'data_val.csv'
archiveArtifacts 'data_test.csv'
archiveArtifacts 'data_train.csv'
archiveArtifacts 'healthcare-dataset-stroke-data.csv'
}
}
}
}