split fetching data and displaying stats v2

This commit is contained in:
Karolina Oparczyk 2021-04-14 21:24:07 +02:00
parent 7831500e7a
commit b20728ea42

View File

@ -18,8 +18,8 @@ node {
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_SELECTOR") copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_SELECTOR")
sh ''' sh '''
#!/usr/bin/env bash #!/usr/bin/env bash
chmod 777 get_stats_simple.sh chmod 777 get_stats.sh
./get_stats_simple.sh | tee output.txt ./get_stats.sh | tee output.txt
''' '''
archiveArtifacts 'output.txt' archiveArtifacts 'output.txt'
} }