Updated Jenkinsfile_2 and make_statistic.sh

This commit is contained in:
Jakub Henyk 2023-03-28 13:49:02 +02:00
parent 0609abeb7a
commit 3ec098c814
2 changed files with 2 additions and 4 deletions

View File

@ -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")
}
}
}

View File

@ -1,2 +1,2 @@
#!/bin/bash
echo "Hello World"
wc -l output.txt