From cb842362039a49a28a1f43684271428d6c93e970 Mon Sep 17 00:00:00 2001 From: Norbert Walkowiak Date: Sun, 16 Apr 2023 08:38:45 +0200 Subject: [PATCH] update jenkisfiles --- Jenkinsfile | 10 +++++----- Jenkinsfile-dataset-stats | 11 +++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a726b53..f607d5c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -53,10 +53,10 @@ pipeline { sh 'python3 ./s487175-create-dataset-script.py >> output.txt' } } - stage('Archive file') { - steps { - archiveArtifacts artifacts: 'output.txt, diamonds.csv', fingerprint: true - } - } + stage('Archive file') { + steps { + archiveArtifacts artifacts: 'output.txt, diamonds.csv', fingerprint: true + } + } } } \ No newline at end of file diff --git a/Jenkinsfile-dataset-stats b/Jenkinsfile-dataset-stats index c932ca3..3124322 100644 --- a/Jenkinsfile-dataset-stats +++ b/Jenkinsfile-dataset-stats @@ -22,5 +22,16 @@ pipeline { ) } } + stage('Shell Script') { + steps { + // Stats + sh 'chmod +x s487175-dataset-stats-script.sh' > output.txt + } + } + stage('Archive file') { + steps { + archiveArtifacts artifacts: 'output.txt', fingerprint: true + } + } } } \ No newline at end of file