2022-05-06 18:56:07 +02:00
|
|
|
pipeline {
|
|
|
|
agent {
|
2022-05-06 19:37:45 +02:00
|
|
|
docker { image 'korneliag/ium478815:1.0' }
|
2022-05-06 18:56:07 +02:00
|
|
|
}
|
2022-05-06 19:11:58 +02:00
|
|
|
|
2022-05-06 19:36:02 +02:00
|
|
|
parameters {
|
|
|
|
string(
|
|
|
|
defaultValue: 'kgirejko',
|
|
|
|
description: 'Kaggle username',
|
|
|
|
name: 'KAGGLE_USERNAME',
|
|
|
|
trim: false
|
|
|
|
)
|
|
|
|
|
|
|
|
password(
|
|
|
|
defaultValue: '51854c15661583860a60db232a7026f0',
|
|
|
|
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
|
|
|
name: 'KAGGLE_KEY'
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2022-05-06 19:19:11 +02:00
|
|
|
stages {
|
2022-05-06 19:27:12 +02:00
|
|
|
stage('First'){
|
2022-05-06 19:19:11 +02:00
|
|
|
steps {
|
|
|
|
copyArtifacts filter: '*', projectName: 's478815-create-dataset'
|
2022-05-06 19:39:37 +02:00
|
|
|
sh 'python3 ./DL.py'
|
|
|
|
archiveArtifacts artifacts: 'modelP.pkl', followSymlinks: false
|
2022-05-06 19:19:11 +02:00
|
|
|
|
|
|
|
}
|
2022-05-06 19:11:58 +02:00
|
|
|
}
|
2022-05-06 19:19:11 +02:00
|
|
|
}
|
2022-05-06 19:36:02 +02:00
|
|
|
}
|