24 lines
507 B
Plaintext
24 lines
507 B
Plaintext
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'maciejczajka'
|
|
}
|
|
}
|
|
parameters {
|
|
string(
|
|
defaultValue: '100',
|
|
description: 'Number of epochs',
|
|
name: 'EPOCHS',
|
|
trim: false
|
|
)
|
|
}
|
|
stages {
|
|
stage('Script'){
|
|
steps {
|
|
copyArtifacts filter: '*', projectName: 's444356-create-dataset'
|
|
sh "python Biblioteka_DL/dllib-mlflow.py -e $EPOCHS"
|
|
archiveArtifacts artifacts: 'games_model.pkl'
|
|
}
|
|
}
|
|
}
|
|
} |