ium_z487186/Jenkinsfile

39 lines
711 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 'python3 main.py'
}
}
stage('List') {
steps {
sh 'ls -la'
}
}
stage('ArchiveArtifacts') {
steps {
archiveArtifacts 'train.data'
archiveArtifacts 'test.data'
archiveArtifacts 'dev.data'
}
}
}
}