33 lines
799 B
Plaintext
33 lines
799 B
Plaintext
![]() |
pipeline {
|
||
|
agent {
|
||
|
dockerfile true
|
||
|
}
|
||
|
stages {
|
||
|
stage('Copy Archive') {
|
||
|
steps {
|
||
|
script {
|
||
|
step ([$class: 'CopyArtifact',
|
||
|
projectName: 's434700-create-dataset',
|
||
|
filter: '*.csv',
|
||
|
target: 'datasets'])
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
stage('checkout: Check out from version control') {
|
||
|
steps {
|
||
|
git 'https://git.wmi.amu.edu.pl/s434700/ium_s434700.git'
|
||
|
}
|
||
|
}
|
||
|
stage('learning') {
|
||
|
steps {
|
||
|
sh 'python ./learning/ml.py'
|
||
|
}
|
||
|
}
|
||
|
stage('archiveArtifacts') {
|
||
|
steps {
|
||
|
archiveArtifacts 'model.pt'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|