Jenkinsfile statystyki

This commit is contained in:
Kornelia Girejko 2022-03-27 22:38:43 +02:00
parent df3bb99893
commit cb0e517ed1

View File

@ -1,10 +1,17 @@
pipeline {
agent any
parameters{
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
}
stages {
stage('CopyArtifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-create-dataset', selector: lastSuccessful()
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh "chmod +x -R ${env.WORKSPACE}"
sh './skrypt_stats.sh'
}