ium_444463/Jenkinsfile
Mikołaj Pokrywka e03a936f90 wip
2022-05-03 16:32:50 +02:00

30 lines
916 B
Groovy

pipeline {
agent {
dockerfile true
}
parameters {
string (
defaultValue: '10',
description: 'Epochs number',
name: 'EPOCH',
trim: false
)
}
stages {
stage('checkout: Check out from version control') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444463', url: 'https://git.wmi.amu.edu.pl/s444463/ium_444463.git']]])
}
}
stage('bash script') {
steps {
withEnv(["EPOCH=${params.CUTOFF}"]) {
copyArtifacts filter: '*', projectName: 's444463-create-dataset'
sh 'python3 ./deepl.py $EPOCHS'
archiveArtifacts artifacts: "model"
}
}
}
}
}