From 3ec098c814771027d5aaef11af7ea08d4e9896ce Mon Sep 17 00:00:00 2001 From: Jakub Henyk Date: Tue, 28 Mar 2023 13:49:02 +0200 Subject: [PATCH] Updated Jenkinsfile_2 and make_statistic.sh --- Jenkinsfile_2 | 4 +--- make_statistic.sh | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile_2 b/Jenkinsfile_2 index e282d4a..21e9fc7 100644 --- a/Jenkinsfile_2 +++ b/Jenkinsfile_2 @@ -12,9 +12,7 @@ pipeline { stage('Load Artifact') { steps { script { - copyArtifacts fingerprintArtifacts: true, projectName: 's452627-create-dataset', selector: buildParameter("BUILD_SELECTOR") - def previousFile = readFile(file: "output.txt") - echo("The previous build artifact was: ${previousFile}") + copyArtifacts fingerprintArtifacts: true, projectName: 's452627-create-dataset', selector: buildParameter("BUILD_SELECTOR") } } } diff --git a/make_statistic.sh b/make_statistic.sh index 36d595f..c947c92 100644 --- a/make_statistic.sh +++ b/make_statistic.sh @@ -1,2 +1,2 @@ #!/bin/bash -echo "Hello World" \ No newline at end of file +wc -l output.txt \ No newline at end of file