test parameters

This commit is contained in:
Mikołaj Pokrywka 2022-05-06 22:32:37 +02:00
parent 3f8b863554
commit 5f0bf0448a

View File

@ -18,12 +18,10 @@ pipeline {
} }
stage('bash script') { stage('bash script') {
steps { steps {
withEnv(["BRANCH=${params.BRANCH}"]) { copyArtifacts filter: '*', projectName: 's444356-training/${BRANCH}', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts filter: '*', projectName: 's444463-training/$BRANCH' copyArtifacts filter: '*', projectName: 's444463-create-dataset'
copyArtifacts filter: '*', projectName: 's444463-create-dataset' sh 'python3 ./evaluation.py'
sh 'python3 ./evaluation.py' archiveArtifacts artifacts: "metrics.txt" "metrics.png"
archiveArtifacts artifacts: "metrics.txt" "metrics.png"
}
} }
} }
} }