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 {
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-creat-datasets', selector: buildParameter('BUILD_SELECTOR')
sh "chmod +x -R ${env.WORKSPACE}"
sh './skrypt_stats.sh'
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-create-dataset', selector: lastSuccessful()
sh "chmod +x -R ${env.WORKSPACE}"
sh './skrypt_stats.sh'
}
}
stage('Archive') {