Jenkinsfile statystyki

This commit is contained in:
Kornelia Girejko 2022-03-27 22:35:25 +02:00
parent a84335dc53
commit c12c257ca0

View File

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