ium_z487186/Jenkinsfile

34 lines
647 B
Plaintext
Raw Normal View History

2023-04-20 21:50:50 +02:00
pipeline {
2023-04-21 11:23:34 +02:00
agent {
dockerfile true
}
2023-04-20 22:57:58 +02:00
parameters {
string (
defaultValue: '0',
description: 'Zdefiniowanie wielkości odcięcia zbioru danych',
name: 'CUTOFF',
trim: false
)
}
2023-04-20 21:50:50 +02:00
stages {
2023-04-20 22:45:53 +02:00
stage('Checkout') {
steps {
checkout scm
}
}
stage('Script') {
2023-04-20 21:50:50 +02:00
steps {
2023-04-21 13:03:23 +02:00
sh 'python3 main.py'
2023-04-20 21:50:50 +02:00
}
}
2023-04-20 23:19:33 +02:00
stage('ArchiveArtifacts') {
2023-04-20 21:50:50 +02:00
steps {
2023-04-20 22:45:53 +02:00
archiveArtifacts 'liver.data.train'
archiveArtifacts 'liver.data.test'
archiveArtifacts 'liver.data.dev'
2023-04-20 21:50:50 +02:00
}
}
}
}