test parameters

This commit is contained in:
Mikołaj Pokrywka 2022-05-06 23:43:45 +02:00
parent 8bbb3f3bf9
commit dbc315fb26

View File

@ -16,14 +16,14 @@ pipeline {
checkout([$class: 'GitSCM', branches: [[name: ' */master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444463', url: 'https://git.wmi.amu.edu.pl/s444463/ium_444463.git']]])
}
}
stage('bash script') {
stage('Copy artifacts') {
steps {
copyArtifacts filter: '*', projectName: 's444463-evaluation/master', optional: true
copyArtifacts filter: '*', projectName: 's444356-training/${BRANCH}', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts filter: '*', projectName: 's444463-create-dataset'
}
}
stage('bash script') {
stage('scripts') {
steps {
sh 'python3 ./evaluation.py'
archiveArtifacts artifacts: "metrics.txt, metrics.png"