2022-03-21 10:59:30 +01:00
|
|
|
pipeline {
|
2022-04-10 11:29:59 +02:00
|
|
|
agent {
|
|
|
|
dockerfile true
|
|
|
|
}
|
2022-03-21 10:59:30 +01:00
|
|
|
stages {
|
2022-03-26 15:22:41 +01:00
|
|
|
stage('Check out from version control') {
|
|
|
|
steps {
|
2022-03-26 15:44:18 +01:00
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444421', url: 'https://git.wmi.amu.edu.pl/s444421/ium_444421.git']]])
|
2022-03-26 15:22:41 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Shell Script') {
|
2022-03-21 10:59:30 +01:00
|
|
|
steps {
|
2022-04-28 20:28:30 +02:00
|
|
|
sh 'ipython ./prepare_datasets.py'
|
|
|
|
archiveArtifacts artifacts: 'X_train.csv, X_test.csv, y_train.csv, y_test.csv '
|
2022-03-21 10:59:30 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|