ium_434766/Jenkinsfile
s434766 866186c16e
All checks were successful
s434766-evaluation/pipeline/head This commit looks good
s434766-training/pipeline/head This commit looks good
final sacred
2021-05-13 23:32:59 +02:00

40 lines
1.0 KiB
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'
}
}
}
post {
success {
build job: 's434766-training/master', parameters: [string(name: 'BATCH_SIZE', value:'16'), string(name: 'EPOCHS', value:'5') ]
}
}
}