sacred hw
This commit is contained in:
parent
67f0cc47fc
commit
cd60d306fe
@ -3,6 +3,20 @@ pipeline {
|
||||
dockerfile true
|
||||
}
|
||||
|
||||
parameters {
|
||||
string(
|
||||
defaultValue: 'kamilab0bkowska',
|
||||
description: 'kaggle username',
|
||||
name: 'KAGGLE_USERNAME',
|
||||
trim: false
|
||||
)
|
||||
password(
|
||||
defaultValue: '',
|
||||
description: 'kaggle passowrd',
|
||||
name: 'KAGGLE_KEY'
|
||||
)
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Stage 1') {
|
||||
steps {
|
||||
@ -10,13 +24,14 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Run sacred on nn_train ') {
|
||||
stage('Run sacred on nn_train') {
|
||||
steps {
|
||||
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||
sh 'python3 ./nn_train_sacred.py'
|
||||
archiveArtifacts artifacts: 'sacred/_sources/*, sacred/1/*'
|
||||
sh 'rm -r sacred'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user