ium_478815/Jenkinsfile_sacred

37 lines
824 B
Plaintext
Raw Normal View History

2022-05-07 13:59:58 +02:00
pipeline {
agent {
2022-05-15 13:13:02 +02:00
docker { image 'korneliag/ium478815:1.0' }
2022-05-15 13:01:56 +02:00
}
2022-05-07 13:59:58 +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'
)
string(
defaultValue: '1000',
description: 'Number of epochs',
name: 'EPOCHS',
trim: false
)
}
stages {
stage('Main train'){
steps {
copyArtifacts filter: '*', projectName: 's478815-create-dataset'
2022-05-15 12:54:40 +02:00
sh 'python3 ./train-mlflow.py with "epochs=$EPOCHS"'
2022-05-07 13:59:58 +02:00
}
}
}
}