34 lines
643 B
Groovy
34 lines
643 B
Groovy
pipeline {
|
|
agent {
|
|
dockerfile true
|
|
}
|
|
|
|
parameters {
|
|
string (
|
|
defaultValue: '0',
|
|
description: 'Zdefiniowanie wielkości odcięcia zbioru danych',
|
|
name: 'CUTOFF',
|
|
trim: false
|
|
)
|
|
}
|
|
|
|
stages {
|
|
stage('Checkout') {
|
|
steps {
|
|
checkout scm
|
|
}
|
|
}
|
|
stage('Script') {
|
|
steps {
|
|
sh './script.sh'
|
|
}
|
|
}
|
|
stage('ArchiveArtifacts') {
|
|
steps {
|
|
archiveArtifacts 'liver.data.train'
|
|
archiveArtifacts 'liver.data.test'
|
|
archiveArtifacts 'liver.data.dev'
|
|
}
|
|
}
|
|
}
|
|
} |