From b56b0b2f919e263aef88a74274edb408d5519440 Mon Sep 17 00:00:00 2001 From: Norbert Walkowiak Date: Tue, 6 Jun 2023 22:43:37 +0200 Subject: [PATCH] update do zadania z lab 05 --- Jenkinsfile | 2 +- s487175-dataset-stats-script.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index edfed22..26ad41d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -73,7 +73,7 @@ pipeline { } stage('Archive file') { steps { - sh "docker cp \$(docker ps -l -q):/app/diamonds.csv ${env.WORKSPACE}" + sh "docker cp \$(docker ps -l -q):/app/dane/diamonds.csv ${env.WORKSPACE}" archiveArtifacts artifacts: 'output.txt, diamonds.csv', fingerprint: true } } diff --git a/s487175-dataset-stats-script.sh b/s487175-dataset-stats-script.sh index 990570d..ec58384 100644 --- a/s487175-dataset-stats-script.sh +++ b/s487175-dataset-stats-script.sh @@ -1,7 +1,7 @@ #!/bin/bash # script ilość linii w wejściowym pliku -artifact_path="/app/diamonds.csv" +artifact_path="/app/dane/diamonds.csv" if [ -f "$artifact_path" ]; then wc -l < "$artifact_path" else