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