From 88b9eed8fd12bedf89a47b13293d90e10b5123d4 Mon Sep 17 00:00:00 2001 From: Maciej Tyczynski Date: Wed, 19 Apr 2023 18:46:03 +0200 Subject: [PATCH] hopefully fixed jenkinsfile --- Jenkinsfile-dataset_stats | 46 +++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/Jenkinsfile-dataset_stats b/Jenkinsfile-dataset_stats index 69cb91a..6828b6d 100644 --- a/Jenkinsfile-dataset_stats +++ b/Jenkinsfile-dataset_stats @@ -6,33 +6,33 @@ pipeline { description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR') ])]) - - stage('Clone repository') { - steps { - git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176' - } - } - stage('Copy Artifacts') { - steps { - script { - projectName: 'z-s487176-create-dataset', - fingerprintArtifacts: true, - selector: buildParameter('BUILD_SELECTOR') + stages { + stage('Clone repository') { + steps { + git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176' } } - } - - stage('Run script') { - steps { - sh 'sh datastats.sh' - } - post { - always { - archiveArtifacts artifacts: 'stats.txt', allowEmptyArchive: true + stage('Copy Artifacts') { + steps { + script { + projectName: 'z-s487176-create-dataset', + fingerprintArtifacts: true, + selector: buildParameter('BUILD_SELECTOR') + } } } - } - + stage('Run script') { + steps { + sh 'sh datastats.sh' + } + post { + always { + archiveArtifacts artifacts: 'stats.txt', allowEmptyArchive: true + } + } + } + + } } }