31 lines
713 B
Plaintext
31 lines
713 B
Plaintext
pipeline {
|
|
agent {
|
|
docker { image 'korneliag/ium478815:1.0' }
|
|
}
|
|
|
|
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'
|
|
)
|
|
}
|
|
|
|
stages {
|
|
stage('First'){
|
|
steps {
|
|
copyArtifacts filter: '*', projectName: 's478815-create-dataset'
|
|
sh 'python3 ./DL.py'
|
|
archiveArtifacts artifacts: 'modelP.pkl', followSymlinks: false
|
|
|
|
}
|
|
}
|
|
}
|
|
} |