ium_434766/Jenkinsfile
2021-04-17 13:35: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'
}
}
}
}